Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.0014/0.0014, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00165/0.00165, allocations: 207.6 kB / 22.99 MB, free: 4.957 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.174/3.174, allocations: 0.49 GB / 0.7959 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [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.002045/0.002045, allocations: 74.92 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3675, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00683/0.3743, allocations: 4.478 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.552, allocations: 132.7 MB / 1.461 GB, free: 7.285 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009157/0.5529, allocations: 23.81 kB / 1.461 GB, free: 7.262 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.5536, allocations: 202.2 kB / 1.461 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.5555, allocations: 0.5802 MB / 1.462 GB, free: 6.484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.5576, allocations: 0.8771 MB / 1.463 GB, free: 5.613 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.5593, allocations: 1.44 MB / 1.464 GB, free: 4.168 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.56, allocations: 426.6 kB / 1.464 GB, free: 3.727 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.5607, allocations: 0.5334 MB / 1.465 GB, free: 3.191 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.5614, allocations: 0.5306 MB / 1.466 GB, free: 2.66 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.5616, allocations: 120 kB / 1.466 GB, free: 2.543 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5626, allocations: 0.4918 MB / 1.466 GB, free: 2.051 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.5629, allocations: 307 kB / 1.466 GB, free: 1.75 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.5634, allocations: 485.7 kB / 1.467 GB, free: 1.273 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5655, allocations: 1.72 MB / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5655, allocations: 4 kB / 1.469 GB, free: 15.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5655, allocations: 0 / 1.469 GB, free: 15.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.5655, allocations: 4 kB / 1.469 GB, free: 15.54 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002776/0.5683, allocations: 1.448 MB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5683, allocations: 8.031 kB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.5699, allocations: 248 kB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5714, allocations: 0.7337 MB / 1.471 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.5714, allocations: 66 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5716, allocations: 84 kB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.5733, allocations: 1.193 MB / 1.472 GB, free: 11.6 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.5733, allocations: 8 kB / 1.472 GB, free: 11.59 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/0.5734, allocations: 32 kB / 1.472 GB, free: 11.56 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.5734, allocations: 20 kB / 1.472 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.5752, allocations: 1.089 MB / 1.473 GB, free: 10.45 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.5791, allocations: 2.12 MB / 1.475 GB, free: 8.277 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.5807, allocations: 0.7819 MB / 1.476 GB, free: 7.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.5813, allocations: 282.7 kB / 1.476 GB, free: 7.203 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.882e-05/0.5814, allocations: 28.62 kB / 1.476 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.5824, allocations: 0.6142 MB / 1.477 GB, free: 6.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.487e-06/0.5824, allocations: 3.938 kB / 1.477 GB, free: 6.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003321/0.5857, allocations: 1.188 MB / 1.478 GB, free: 5.316 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.5859, allocations: 192.9 kB / 1.478 GB, free: 5.086 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.5867, allocations: 0.6135 MB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.5868, allocations: 41.7 kB / 1.479 GB, free: 4.418 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.5871, allocations: 413.1 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.5874, allocations: 281.6 kB / 1.48 GB, free: 3.73 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.5877, allocations: 170.6 kB / 1.48 GB, free: 3.559 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5879, allocations: 394.6 kB / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.5884, allocations: 281.8 kB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/0.5891, allocations: 499.6 kB / 1.481 GB, free: 2.355 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.5903, allocations: 0.6242 MB / 1.482 GB, free: 1.723 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5903, allocations: 0 / 1.482 GB, free: 1.723 MB / 1.17 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002055/0.5924, allocations: 0.8766 MB / 1.482 GB, free: 0.832 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5924, allocations: 4 kB / 1.482 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5924, allocations: 4.094 kB / 1.483 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.593, allocations: 88.64 kB / 1.483 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.5937, allocations: 171.8 kB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.5958, allocations: 1.5 MB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.5965, allocations: 93.48 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.5966, allocations: 39.97 kB / 1.484 GB, free: 14.83 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0004655/0.5971, allocations: 277.2 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.5973, allocations: 87.47 kB / 1.485 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.5998, allocations: 1.128 MB / 1.486 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5998, allocations: 8 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5998, allocations: 4 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5999, allocations: 7.922 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.6032, allocations: 1.759 MB / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.6032, allocations: 0 / 1.488 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.6038, allocations: 147.8 kB / 1.488 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.6042, allocations: 76.78 kB / 1.488 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.6043, allocations: 31.91 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.6062, allocations: 1.524 MB / 1.489 GB, free: 9.625 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6062, allocations: 0 / 1.489 GB, free: 9.625 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.6085, allocations: 1.053 MB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.6089, allocations: 211 kB / 1.49 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6091, allocations: 19.95 kB / 1.491 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/0.6097, allocations: 79.98 kB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.6099, allocations: 76.84 kB / 1.491 GB, free: 8.172 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.61, allocations: 43.97 kB / 1.491 GB, free: 8.129 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006258/0.6106, allocations: 443 kB / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6106, allocations: 0 / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009874/0.6116, allocations: 339.1 kB / 1.491 GB, free: 7.371 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002136/0.6137, allocations: 0.6361 MB / 1.492 GB, free: 6.938 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.6156, allocations: 0.839 MB / 1.493 GB, free: 6.086 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6156, allocations: 0 / 1.493 GB, free: 6.086 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6166, allocations: 0.5121 MB / 1.493 GB, free: 5.562 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.6179, allocations: 291.9 kB / 1.494 GB, free: 5.297 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.6213, allocations: 1.732 MB / 1.495 GB, free: 3.531 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.6218, allocations: 453.2 kB / 1.496 GB, free: 3.055 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008519/0.6227, allocations: 270.5 kB / 1.496 GB, free: 2.785 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.623, allocations: 115.4 kB / 1.496 GB, free: 2.672 MB / 1.186 GB Notification: Performance of SimCode: time 1.312e-06/0.623, allocations: 0 / 1.496 GB, free: 2.672 MB / 1.186 GB Notification: Performance of Templates: time 0.0311/0.6541, allocations: 17.05 MB / 1.513 GB, free: 1.883 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.665770963998511]