Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 190.7 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 68.06 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4083, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007874/0.4161, allocations: 5.466 MB / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2005/0.6166, allocations: 151.4 MB / 1.46 GB, free: 4.309 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.6175, allocations: 23.81 kB / 1.461 GB, free: 4.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.6181, allocations: 214 kB / 1.461 GB, free: 4.074 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.6199, allocations: 0.5782 MB / 1.461 GB, free: 3.496 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.6222, allocations: 0.9724 MB / 1.462 GB, free: 2.527 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.6242, allocations: 1.616 MB / 1.464 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.6251, allocations: 0.5139 MB / 1.464 GB, free: 356 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.626, allocations: 0.6074 MB / 1.465 GB, free: 15.74 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008518/0.6268, allocations: 0.6574 MB / 1.466 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.627, allocations: 140 kB / 1.466 GB, free: 14.94 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6281, allocations: 0.5308 MB / 1.466 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.6284, allocations: 358.9 kB / 1.467 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.6291, allocations: 0.6724 MB / 1.467 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.6316, allocations: 1.922 MB / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6316, allocations: 0 / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6316, allocations: 0 / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.468e-05/0.6316, allocations: 0 / 1.469 GB, free: 11.45 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003347/0.6349, allocations: 1.646 MB / 1.471 GB, free: 9.773 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.635, allocations: 8.922 kB / 1.471 GB, free: 9.766 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.6403, allocations: 0.7647 MB / 1.471 GB, free: 9 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.6418, allocations: 0.7642 MB / 1.472 GB, free: 8.207 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/0.6419, allocations: 82.2 kB / 1.472 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.6421, allocations: 111.9 kB / 1.472 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.6455, allocations: 1.432 MB / 1.474 GB, free: 6.52 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.6455, allocations: 4 kB / 1.474 GB, free: 6.516 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6456, allocations: 44 kB / 1.474 GB, free: 6.473 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6457, allocations: 28 kB / 1.474 GB, free: 6.445 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004772/0.6504, allocations: 1.893 MB / 1.476 GB, free: 4.543 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00688/0.6573, allocations: 3.543 MB / 1.479 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.6609, allocations: 1.229 MB / 1.48 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.6624, allocations: 0.5356 MB / 1.481 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.663, allocations: 101 kB / 1.481 GB, free: 14.97 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/0.665, allocations: 0.8088 MB / 1.482 GB, free: 14.14 MB / 1.186 GB Notification: Performance of pre-optimization done (n=109): time 2.806e-06/0.665, allocations: 4 kB / 1.482 GB, free: 14.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=109): time 0.006443/0.6714, allocations: 1.902 MB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.6716, allocations: 196.9 kB / 1.484 GB, free: 11.99 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.6725, allocations: 0.645 MB / 1.484 GB, free: 11.34 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6726, allocations: 45.7 kB / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.6731, allocations: 445.4 kB / 1.485 GB, free: 10.85 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.6734, allocations: 372.8 kB / 1.485 GB, free: 10.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.6738, allocations: 210.5 kB / 1.485 GB, free: 10.27 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.674, allocations: 406.6 kB / 1.486 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.6756, allocations: 0.5016 MB / 1.486 GB, free: 9.363 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.6772, allocations: 0.6091 MB / 1.487 GB, free: 8.734 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.6803, allocations: 1.09 MB / 1.488 GB, free: 7.633 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6803, allocations: 0 / 1.488 GB, free: 7.633 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004105/0.6844, allocations: 1.38 MB / 1.489 GB, free: 6.242 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6844, allocations: 4 kB / 1.489 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6844, allocations: 0 / 1.489 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.685, allocations: 88.89 kB / 1.489 GB, free: 6.148 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.6865, allocations: 267.6 kB / 1.49 GB, free: 5.887 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.6889, allocations: 1.539 MB / 1.491 GB, free: 4.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6903, allocations: 160.8 kB / 1.491 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.6904, allocations: 51.95 kB / 1.491 GB, free: 4.023 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005963/0.691, allocations: 283.4 kB / 1.492 GB, free: 3.738 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.6912, allocations: 107.3 kB / 1.492 GB, free: 3.633 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/0.696, allocations: 1.672 MB / 1.493 GB, free: 1.941 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.696, allocations: 12 kB / 1.493 GB, free: 1.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.696, allocations: 0 / 1.493 GB, free: 1.93 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.696, allocations: 7.984 kB / 1.493 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006376/0.7024, allocations: 2.778 MB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7024, allocations: 3.984 kB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.7038, allocations: 251.6 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.7042, allocations: 76.78 kB / 1.496 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/0.7043, allocations: 31.97 kB / 1.496 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.7065, allocations: 1.563 MB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.7065, allocations: 3.938 kB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.7109, allocations: 1.533 MB / 1.5 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/0.7118, allocations: 242.9 kB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.712, allocations: 35.94 kB / 1.5 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.7132, allocations: 115.9 kB / 1.5 GB, free: 11.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.7134, allocations: 92.83 kB / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.7135, allocations: 47.95 kB / 1.5 GB, free: 10.96 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007671/0.7143, allocations: 471 kB / 1.5 GB, free: 10.5 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7143, allocations: 0 / 1.5 GB, free: 10.5 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001195/0.7155, allocations: 407 kB / 1.501 GB, free: 10.11 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002407/0.7179, allocations: 0.6293 MB / 1.501 GB, free: 9.648 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004905/0.7228, allocations: 1.335 MB / 1.503 GB, free: 8.301 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.7228, allocations: 7.984 kB / 1.503 GB, free: 8.293 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.7251, allocations: 0.7655 MB / 1.504 GB, free: 7.52 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.7269, allocations: 318 kB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.7322, allocations: 2.119 MB / 1.506 GB, free: 5.086 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/0.7331, allocations: 1.084 MB / 1.507 GB, free: 3.973 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001469/0.7345, allocations: 343.7 kB / 1.507 GB, free: 3.633 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.735, allocations: 127.4 kB / 1.507 GB, free: 3.508 MB / 1.201 GB Notification: Performance of SimCode: time 1.573e-06/0.735, allocations: 0 / 1.507 GB, free: 3.508 MB / 1.201 GB Notification: Performance of Templates: time 0.03719/0.7721, allocations: 19.2 MB / 1.526 GB, free: 0.5195 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.470629587769508]