Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001831/0.001831, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002433/0.002433, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.781 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.337/3.337, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [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.002092/0.002092, allocations: 63.28 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3715, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01029/0.3818, allocations: 6.251 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.5762, allocations: 133.2 MB / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.5781, allocations: 19.88 kB / 1.462 GB, free: 5.855 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.5793, allocations: 269.4 kB / 1.462 GB, free: 5.59 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.5826, allocations: 0.81 MB / 1.463 GB, free: 4.781 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.5857, allocations: 1.031 MB / 1.464 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00373/0.5894, allocations: 2.108 MB / 1.466 GB, free: 1.641 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.5911, allocations: 0.7405 MB / 1.467 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.5928, allocations: 0.8528 MB / 1.467 GB, free: 15.99 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.5941, allocations: 0.7942 MB / 1.468 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.5945, allocations: 220 kB / 1.468 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.5961, allocations: 0.5856 MB / 1.469 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005545/0.5966, allocations: 498.5 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0009774/0.5976, allocations: 0.7934 MB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.6016, allocations: 2.736 MB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6016, allocations: 0 / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.315e-06/0.6016, allocations: 4 kB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.053e-05/0.6016, allocations: 7.875 kB / 1.473 GB, free: 10.35 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004416/0.606, allocations: 2.041 MB / 1.475 GB, free: 8.27 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6061, allocations: 8.031 kB / 1.475 GB, free: 8.262 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/0.6092, allocations: 403.5 kB / 1.475 GB, free: 7.867 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.6112, allocations: 0.9487 MB / 1.476 GB, free: 6.887 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.6114, allocations: 174.5 kB / 1.476 GB, free: 6.703 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.6116, allocations: 156 kB / 1.477 GB, free: 6.551 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/0.6148, allocations: 1.865 MB / 1.478 GB, free: 4.562 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.6149, allocations: 3.984 kB / 1.478 GB, free: 4.559 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.615, allocations: 64 kB / 1.478 GB, free: 4.496 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.615, allocations: 40 kB / 1.478 GB, free: 4.457 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.6179, allocations: 1.542 MB / 1.48 GB, free: 2.91 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007331/0.6252, allocations: 3.515 MB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.6273, allocations: 1.029 MB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007769/0.628, allocations: 387.7 kB / 1.485 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.6281, allocations: 32.95 kB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.6296, allocations: 0.8255 MB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of pre-optimization done (n=111): time 3.316e-06/0.6296, allocations: 4 kB / 1.486 GB, free: 12.99 MB / 1.186 GB Notification: Performance of matching and sorting (n=111): time 0.004323/0.6339, allocations: 1.574 MB / 1.487 GB, free: 11.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.634, allocations: 200.9 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.6352, allocations: 0.7391 MB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.6353, allocations: 57.64 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/0.6359, allocations: 0.6415 MB / 1.489 GB, free: 9.711 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.6363, allocations: 376.8 kB / 1.489 GB, free: 9.34 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003607/0.6366, allocations: 222.8 kB / 1.489 GB, free: 9.117 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.6369, allocations: 406.7 kB / 1.49 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008225/0.6377, allocations: 394.4 kB / 1.49 GB, free: 8.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.6387, allocations: 0.6405 MB / 1.491 GB, free: 7.633 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.6404, allocations: 0.8916 MB / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6404, allocations: 0 / 1.492 GB, free: 6.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002738/0.6431, allocations: 1.2 MB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6432, allocations: 5.719 kB / 1.493 GB, free: 5.512 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6432, allocations: 0 / 1.493 GB, free: 5.512 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.6438, allocations: 92.83 kB / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6448, allocations: 223.7 kB / 1.493 GB, free: 5.199 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.6472, allocations: 1.52 MB / 1.495 GB, free: 3.57 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000967/0.6482, allocations: 119.3 kB / 1.495 GB, free: 3.453 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6483, allocations: 51.97 kB / 1.495 GB, free: 3.402 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: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007172/0.649, allocations: 364.8 kB / 1.495 GB, free: 3.039 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.6492, allocations: 107.3 kB / 1.495 GB, free: 2.934 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.6527, allocations: 1.52 MB / 1.497 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.6527, allocations: 16 kB / 1.497 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.6527, allocations: 0 / 1.497 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6527, allocations: 3.984 kB / 1.497 GB, free: 1.379 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6543, allocations: 0.9515 MB / 1.498 GB, free: 408 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.6543, allocations: 4 kB / 1.498 GB, free: 404 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.6551, allocations: 195.7 kB / 1.498 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.6556, allocations: 76.72 kB / 1.498 GB, free: 128 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.011e-05/0.6557, allocations: 35.97 kB / 1.498 GB, free: 92 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.6578, allocations: 1.54 MB / 1.499 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6578, allocations: 0 / 1.499 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.6607, allocations: 1.277 MB / 1.501 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.6613, allocations: 270.8 kB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.6615, allocations: 27.94 kB / 1.501 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/0.6623, allocations: 87.84 kB / 1.501 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.6625, allocations: 109 kB / 1.501 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6626, allocations: 47.97 kB / 1.501 GB, free: 12.61 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008129/0.6635, allocations: 0.5459 MB / 1.502 GB, free: 12.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6635, allocations: 0 / 1.502 GB, free: 12.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001271/0.6647, allocations: 0.4906 MB / 1.502 GB, free: 11.58 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002281/0.667, allocations: 0.6521 MB / 1.503 GB, free: 11.13 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002433/0.6694, allocations: 1.103 MB / 1.504 GB, free: 10.01 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.6694, allocations: 7.938 kB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.6707, allocations: 0.6388 MB / 1.505 GB, free: 9.355 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.672, allocations: 311.9 kB / 1.505 GB, free: 9.074 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.677, allocations: 2.524 MB / 1.507 GB, free: 6.516 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.6777, allocations: 0.6427 MB / 1.508 GB, free: 5.832 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001096/0.6788, allocations: 304.5 kB / 1.508 GB, free: 5.531 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.6792, allocations: 151.3 kB / 1.508 GB, free: 5.383 MB / 1.201 GB Notification: Performance of SimCode: time 1.353e-06/0.6792, allocations: 0 / 1.508 GB, free: 5.383 MB / 1.201 GB Notification: Performance of Templates: time 0.03929/0.7185, allocations: 21.55 MB / 1.529 GB, free: 112 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.436017936095595]