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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 106.7 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003303/0.003303, allocations: 68.52 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3514, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.01018/0.3615, allocations: 5.454 MB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.5545, allocations: 154.2 MB / 1.477 GB, free: 2.57 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.5557, allocations: 23.88 kB / 1.477 GB, free: 2.547 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.5565, allocations: 217.9 kB / 1.477 GB, free: 2.332 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.5589, allocations: 0.5948 MB / 1.478 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.5615, allocations: 0.9696 MB / 1.479 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.5641, allocations: 1.647 MB / 1.481 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.5652, allocations: 0.5172 MB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.5663, allocations: 0.6229 MB / 1.482 GB, free: 13.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000942/0.5672, allocations: 0.6497 MB / 1.482 GB, free: 13.29 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.5674, allocations: 148 kB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.5687, allocations: 0.5581 MB / 1.483 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003996/0.5691, allocations: 370.8 kB / 1.483 GB, free: 12.22 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.5698, allocations: 0.6802 MB / 1.484 GB, free: 11.54 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.5727, allocations: 1.965 MB / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5727, allocations: 0 / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5727, allocations: 0 / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.5727, allocations: 0 / 1.486 GB, free: 9.566 MB / 1.186 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.003661/0.5764, allocations: 1.744 MB / 1.488 GB, free: 7.766 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5764, allocations: 11.98 kB / 1.488 GB, free: 7.754 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006288/0.5827, allocations: 0.827 MB / 1.488 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.5844, allocations: 0.8488 MB / 1.489 GB, free: 6.031 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.5845, allocations: 82.2 kB / 1.489 GB, free: 5.949 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.5847, allocations: 108 kB / 1.489 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.5884, allocations: 1.436 MB / 1.491 GB, free: 4.344 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5884, allocations: 0 / 1.491 GB, free: 4.344 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.5885, allocations: 44 kB / 1.491 GB, free: 4.301 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.5886, allocations: 24 kB / 1.491 GB, free: 4.277 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/0.5937, allocations: 1.889 MB / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007188/0.6009, allocations: 3.621 MB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/0.6047, allocations: 1.304 MB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.6063, allocations: 0.547 MB / 1.498 GB, free: 12.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.6071, allocations: 482.6 kB / 1.499 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002064/0.6092, allocations: 0.8088 MB / 1.499 GB, free: 11.33 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 2.775e-06/0.6092, allocations: 0 / 1.499 GB, free: 11.33 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.006718/0.6159, allocations: 1.981 MB / 1.501 GB, free: 9.32 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.6161, allocations: 192.9 kB / 1.501 GB, free: 9.09 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.6173, allocations: 0.6725 MB / 1.502 GB, free: 8.406 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.6174, allocations: 45.7 kB / 1.502 GB, free: 8.355 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.6179, allocations: 457.4 kB / 1.503 GB, free: 7.902 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.6183, allocations: 376.8 kB / 1.503 GB, free: 7.531 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/0.6187, allocations: 198.5 kB / 1.503 GB, free: 7.332 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002391/0.6189, allocations: 398.7 kB / 1.504 GB, free: 6.934 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.6205, allocations: 0.5055 MB / 1.504 GB, free: 6.426 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.6223, allocations: 0.613 MB / 1.505 GB, free: 5.797 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003262/0.6255, allocations: 1.086 MB / 1.506 GB, free: 4.699 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6255, allocations: 0 / 1.506 GB, free: 4.699 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004477/0.63, allocations: 1.384 MB / 1.507 GB, free: 3.301 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.63, allocations: 4 kB / 1.507 GB, free: 3.297 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.63, allocations: 4 kB / 1.507 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.6307, allocations: 84.89 kB / 1.507 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.6321, allocations: 267.6 kB / 1.507 GB, free: 2.945 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002782/0.6349, allocations: 1.637 MB / 1.509 GB, free: 1.164 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.6365, allocations: 169.6 kB / 1.509 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.6366, allocations: 47.95 kB / 1.509 GB, free: 0.9531 MB / 1.201 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.0008/0.6374, allocations: 291.3 kB / 1.509 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6377, allocations: 111.2 kB / 1.51 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/0.6427, allocations: 1.676 MB / 1.511 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.6427, allocations: 12 kB / 1.511 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6427, allocations: 0 / 1.511 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6427, allocations: 7.984 kB / 1.511 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006509/0.6493, allocations: 2.817 MB / 1.514 GB, free: 11.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.6493, allocations: 0 / 1.514 GB, free: 11.96 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6507, allocations: 255.6 kB / 1.514 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.6511, allocations: 72.78 kB / 1.514 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6512, allocations: 35.97 kB / 1.514 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.6534, allocations: 1.658 MB / 1.516 GB, free: 9.793 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6534, allocations: 3.938 kB / 1.516 GB, free: 9.789 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.658, allocations: 1.533 MB / 1.517 GB, free: 8.234 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006508/0.6587, allocations: 331.9 kB / 1.518 GB, free: 7.891 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6589, allocations: 35.92 kB / 1.518 GB, free: 7.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6602, allocations: 115.9 kB / 1.518 GB, free: 7.742 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6604, allocations: 88.88 kB / 1.518 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.6605, allocations: 51.95 kB / 1.518 GB, free: 7.605 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007212/0.6612, allocations: 487 kB / 1.518 GB, free: 7.137 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6612, allocations: 0 / 1.518 GB, free: 7.137 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001217/0.6624, allocations: 403 kB / 1.519 GB, free: 6.742 MB / 1.217 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.002172/0.6646, allocations: 0.625 MB / 1.519 GB, free: 6.289 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004231/0.6688, allocations: 1.339 MB / 1.521 GB, free: 4.938 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6689, allocations: 0 / 1.521 GB, free: 4.938 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.671, allocations: 0.7655 MB / 1.522 GB, free: 4.16 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.6726, allocations: 330.6 kB / 1.522 GB, free: 3.863 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.6774, allocations: 2.151 MB / 1.524 GB, free: 1.68 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.6782, allocations: 1.08 MB / 1.525 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001361/0.6795, allocations: 339.9 kB / 1.525 GB, free: 244 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.68, allocations: 131.4 kB / 1.525 GB, free: 112 kB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.68, allocations: 4 kB / 1.525 GB, free: 108 kB / 1.217 GB Notification: Performance of Templates: time 0.03685/0.7169, allocations: 18.82 MB / 1.544 GB, free: 13.5 MB / 1.248 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: 9.979141860734671]