Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002031/0.002031, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002329/0.002329, allocations: 220.3 kB / 22.26 MB, free: 5.125 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 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.229/3.229, allocations: 0.5096 GB / 0.8147 GB, free: 17.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_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.002073/0.002073, allocations: 71.38 kB / 1.184 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4179, allocations: 181.4 MB / 1.361 GB, free: 204 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00784/0.4258, allocations: 4.915 MB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2216/0.6473, allocations: 154.1 MB / 1.517 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.6487, allocations: 23.81 kB / 1.517 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.6495, allocations: 198.3 kB / 1.517 GB, free: 336 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.6518, allocations: 0.566 MB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.6545, allocations: 0.8882 MB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.6566, allocations: 1.401 MB / 1.52 GB, free: 13.47 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009167/0.6575, allocations: 421.8 kB / 1.52 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009348/0.6584, allocations: 0.4983 MB / 1.521 GB, free: 12.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008115/0.6593, allocations: 0.5173 MB / 1.521 GB, free: 12.01 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.6594, allocations: 120 kB / 1.521 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.6608, allocations: 0.5113 MB / 1.522 GB, free: 11.38 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003458/0.6611, allocations: 299.1 kB / 1.522 GB, free: 11.09 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.6617, allocations: 0.5635 MB / 1.523 GB, free: 10.52 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.6643, allocations: 1.697 MB / 1.524 GB, free: 8.82 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.6643, allocations: 3.984 kB / 1.524 GB, free: 8.816 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.886e-06/0.6644, allocations: 0 / 1.524 GB, free: 8.816 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.031e-05/0.6644, allocations: 0 / 1.524 GB, free: 8.816 MB / 1.217 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.003038/0.6674, allocations: 1.411 MB / 1.526 GB, free: 7.375 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.6675, allocations: 8.031 kB / 1.526 GB, free: 7.367 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.6692, allocations: 244 kB / 1.526 GB, free: 7.129 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.6706, allocations: 0.7105 MB / 1.527 GB, free: 6.391 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.6707, allocations: 69.98 kB / 1.527 GB, free: 6.32 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6708, allocations: 79.94 kB / 1.527 GB, free: 6.242 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.6725, allocations: 0.9184 MB / 1.528 GB, free: 5.285 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6725, allocations: 0 / 1.528 GB, free: 5.285 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.6726, allocations: 43.98 kB / 1.528 GB, free: 5.242 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.6726, allocations: 20 kB / 1.528 GB, free: 5.223 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6746, allocations: 1.108 MB / 1.529 GB, free: 4.113 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00469/0.6793, allocations: 2.721 MB / 1.531 GB, free: 1.266 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.681, allocations: 0.7758 MB / 1.532 GB, free: 492 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.6815, allocations: 282.6 kB / 1.532 GB, free: 208 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.419e-05/0.6816, allocations: 28.61 kB / 1.532 GB, free: 180 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009844/0.6826, allocations: 0.4889 MB / 1.533 GB, free: 15.67 MB / 1.232 GB Notification: Performance of pre-optimization done (n=79): time 2.344e-06/0.6826, allocations: 0 / 1.533 GB, free: 15.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=79): time 0.003458/0.6861, allocations: 1.119 MB / 1.534 GB, free: 14.54 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.6863, allocations: 196.6 kB / 1.534 GB, free: 14.3 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.6872, allocations: 0.6488 MB / 1.535 GB, free: 13.64 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/0.6873, allocations: 45.7 kB / 1.535 GB, free: 13.59 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.6877, allocations: 405.1 kB / 1.535 GB, free: 13.19 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.688, allocations: 257.8 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/0.6883, allocations: 166.5 kB / 1.536 GB, free: 12.77 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.6885, allocations: 398.6 kB / 1.536 GB, free: 12.37 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.6891, allocations: 265.9 kB / 1.536 GB, free: 12.11 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/0.6898, allocations: 363.1 kB / 1.537 GB, free: 11.74 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.691, allocations: 0.6033 MB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.691, allocations: 4 kB / 1.537 GB, free: 11.12 MB / 1.232 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002251/0.6933, allocations: 0.8531 MB / 1.538 GB, free: 10.26 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6933, allocations: 8 kB / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6933, allocations: 0 / 1.538 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/0.694, allocations: 84.81 kB / 1.538 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.6947, allocations: 159.8 kB / 1.538 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.6972, allocations: 1.552 MB / 1.54 GB, free: 8.336 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.698, allocations: 87.56 kB / 1.54 GB, free: 8.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.698, allocations: 31.97 kB / 1.54 GB, free: 8.219 MB / 1.232 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.0005719/0.6986, allocations: 279.4 kB / 1.54 GB, free: 7.938 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.6988, allocations: 91.44 kB / 1.54 GB, free: 7.848 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/0.7015, allocations: 1.066 MB / 1.541 GB, free: 6.77 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.7015, allocations: 8 kB / 1.541 GB, free: 6.762 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7015, allocations: 3.938 kB / 1.541 GB, free: 6.758 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7015, allocations: 3.984 kB / 1.541 GB, free: 6.754 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.7053, allocations: 1.935 MB / 1.543 GB, free: 4.762 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7053, allocations: 0 / 1.543 GB, free: 4.762 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.7059, allocations: 139.8 kB / 1.543 GB, free: 4.625 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/0.7064, allocations: 72.78 kB / 1.543 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.7065, allocations: 23.98 kB / 1.543 GB, free: 4.527 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.7086, allocations: 1.574 MB / 1.545 GB, free: 2.836 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7086, allocations: 3.938 kB / 1.545 GB, free: 2.832 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.7107, allocations: 0.9984 MB / 1.546 GB, free: 1.812 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.7112, allocations: 211 kB / 1.546 GB, free: 1.605 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.7113, allocations: 20 kB / 1.546 GB, free: 1.586 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006808/0.712, allocations: 67.02 kB / 1.546 GB, free: 1.523 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.7122, allocations: 80.84 kB / 1.546 GB, free: 1.445 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.7123, allocations: 35.92 kB / 1.546 GB, free: 1.41 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006944/0.713, allocations: 475 kB / 1.547 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.713, allocations: 0 / 1.547 GB, free: 0.9531 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001012/0.714, allocations: 319.2 kB / 1.547 GB, free: 0.6406 MB / 1.232 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.00215/0.7161, allocations: 0.6026 MB / 1.548 GB, free: 212 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002178/0.7183, allocations: 0.7883 MB / 1.548 GB, free: 15.41 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7183, allocations: 8.188 kB / 1.548 GB, free: 15.4 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.7194, allocations: 0.4885 MB / 1.549 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.7209, allocations: 300.6 kB / 1.549 GB, free: 14.62 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.7246, allocations: 1.668 MB / 1.551 GB, free: 12.92 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/0.7255, allocations: 1.028 MB / 1.552 GB, free: 11.87 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008826/0.7264, allocations: 270.6 kB / 1.552 GB, free: 11.6 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.7267, allocations: 111.4 kB / 1.552 GB, free: 11.49 MB / 1.248 GB Notification: Performance of SimCode: time 1.103e-06/0.7267, allocations: 0 / 1.552 GB, free: 11.49 MB / 1.248 GB Notification: Performance of Templates: time 0.03299/0.7597, allocations: 16.05 MB / 1.568 GB, free: 11.61 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.237967447843403]