Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.001822/0.001822, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.002103/0.002103, allocations: 215.6 kB / 22.99 MB, free: 4.965 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.512/1.512, 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.191/3.191, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.002047/0.002047, allocations: 68.36 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007396/0.3636, allocations: 4.406 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.189/0.5526, allocations: 132.7 MB / 1.461 GB, free: 7.395 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009903/0.5536, allocations: 23.81 kB / 1.461 GB, free: 7.371 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.5543, allocations: 194.2 kB / 1.461 GB, free: 7.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.5564, allocations: 0.5613 MB / 1.462 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.5587, allocations: 0.8631 MB / 1.462 GB, free: 5.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.5607, allocations: 1.409 MB / 1.464 GB, free: 4.348 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.5615, allocations: 422.5 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.5623, allocations: 0.51 MB / 1.465 GB, free: 3.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.563, allocations: 0.4979 MB / 1.465 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.5632, allocations: 123.9 kB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.5643, allocations: 0.4996 MB / 1.466 GB, free: 2.277 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003324/0.5647, allocations: 303.1 kB / 1.466 GB, free: 1.98 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.5652, allocations: 465.7 kB / 1.467 GB, free: 1.523 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.5676, allocations: 1.701 MB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5676, allocations: 4 kB / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5676, allocations: 0 / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.5676, allocations: 0 / 1.468 GB, free: 15.81 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002972/0.5705, allocations: 1.411 MB / 1.47 GB, free: 14.37 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5706, allocations: 8.031 kB / 1.47 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.5724, allocations: 240 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.5738, allocations: 0.7182 MB / 1.471 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.5739, allocations: 66 kB / 1.471 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.574, allocations: 76 kB / 1.471 GB, free: 13.24 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.576, allocations: 1.173 MB / 1.472 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.576, allocations: 4 kB / 1.472 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5761, allocations: 39.94 kB / 1.472 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.5761, allocations: 20 kB / 1.472 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.5781, allocations: 1.065 MB / 1.473 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.5824, allocations: 2.108 MB / 1.475 GB, free: 8.672 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.5841, allocations: 0.7721 MB / 1.476 GB, free: 7.891 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.5846, allocations: 278.6 kB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.5847, allocations: 28.58 kB / 1.476 GB, free: 7.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5858, allocations: 0.5841 MB / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 2.775e-06/0.5858, allocations: 4 kB / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003435/0.5892, allocations: 1.107 MB / 1.478 GB, free: 5.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.5893, allocations: 192.6 kB / 1.478 GB, free: 5.609 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009458/0.5903, allocations: 0.5978 MB / 1.478 GB, free: 5.004 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.052e-05/0.5904, allocations: 41.7 kB / 1.479 GB, free: 4.957 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.5908, allocations: 416.9 kB / 1.479 GB, free: 4.543 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.591, allocations: 265.8 kB / 1.479 GB, free: 4.281 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.5913, allocations: 158.6 kB / 1.479 GB, free: 4.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.5915, allocations: 382.7 kB / 1.48 GB, free: 3.738 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.5921, allocations: 269.8 kB / 1.48 GB, free: 3.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.5928, allocations: 491.6 kB / 1.48 GB, free: 2.949 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.594, allocations: 0.6073 MB / 1.481 GB, free: 2.332 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.594, allocations: 7.875 kB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002293/0.5963, allocations: 0.8453 MB / 1.482 GB, free: 1.465 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.5964, allocations: 4 kB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.5964, allocations: 4 kB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.5971, allocations: 80.88 kB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.5978, allocations: 163.7 kB / 1.482 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.6002, allocations: 1.516 MB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.6011, allocations: 87.58 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.6012, allocations: 43.95 kB / 1.484 GB, free: 15.46 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: 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 (93): * Single equations (assignments): 92 * 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.0005653/0.6018, allocations: 271.4 kB / 1.484 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.602, allocations: 87.42 kB / 1.484 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.6046, allocations: 1.057 MB / 1.485 GB, free: 14.03 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6046, allocations: 8 kB / 1.485 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6046, allocations: 0 / 1.485 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.6046, allocations: 3.984 kB / 1.485 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.6083, allocations: 1.706 MB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6083, allocations: 7.875 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.6089, allocations: 143.8 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/0.6094, allocations: 68.78 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.6095, allocations: 23.98 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.6117, allocations: 1.532 MB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6117, allocations: 4.062 kB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.614, allocations: 0.9945 MB / 1.489 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.6145, allocations: 211.2 kB / 1.49 GB, free: 9.168 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6146, allocations: 19.94 kB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006927/0.6153, allocations: 70.58 kB / 1.49 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.6155, allocations: 68.86 kB / 1.49 GB, free: 9.012 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.6156, allocations: 35.98 kB / 1.49 GB, free: 8.977 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006195/0.6162, allocations: 431 kB / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6162, allocations: 0 / 1.49 GB, free: 8.562 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001043/0.6172, allocations: 335.1 kB / 1.491 GB, free: 8.234 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: 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 (90): * Single equations (assignments): 84 * 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.002277/0.6195, allocations: 0.6416 MB / 1.491 GB, free: 7.797 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.6215, allocations: 0.8001 MB / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6215, allocations: 0 / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6226, allocations: 0.4884 MB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.624, allocations: 291.8 kB / 1.493 GB, free: 6.219 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.6276, allocations: 1.672 MB / 1.494 GB, free: 4.512 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.6282, allocations: 435.6 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009082/0.6291, allocations: 258.2 kB / 1.495 GB, free: 3.801 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.6294, allocations: 115.3 kB / 1.495 GB, free: 3.688 MB / 1.186 GB Notification: Performance of SimCode: time 1.472e-06/0.6294, allocations: 0 / 1.495 GB, free: 3.688 MB / 1.186 GB Notification: Performance of Templates: time 0.03079/0.6602, allocations: 16.53 MB / 1.511 GB, free: 3.41 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.892648745008046]