Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001881/0.001881, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002533/0.002533, allocations: 163.5 kB / 22.46 MB, free: 5.375 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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 2.96/2.96, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.616e-05/4.81e-05, allocations: 9.594 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008857/0.008905, allocations: 4.48 MB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8798/0.8887, allocations: 132.7 MB / 1.134 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009719/0.8896, allocations: 20.94 kB / 1.134 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005745/0.8902, allocations: 203.9 kB / 1.134 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.8919, allocations: 0.5871 MB / 1.135 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.8938, allocations: 0.8901 MB / 1.136 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.8953, allocations: 1.519 MB / 1.137 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.8959, allocations: 407.5 kB / 1.138 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.8968, allocations: 0.7716 MB / 1.138 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.8974, allocations: 427.9 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.8976, allocations: 131.3 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.8986, allocations: 0.4967 MB / 1.139 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.8989, allocations: 328.4 kB / 1.14 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.8993, allocations: 407.2 kB / 1.14 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.9014, allocations: 1.845 MB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.9014, allocations: 3.234 kB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9014, allocations: 2.016 kB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.843e-05/0.9015, allocations: 0 / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002545/0.904, allocations: 1.468 MB / 1.143 GB, free: 44.26 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.904, allocations: 11.53 kB / 1.143 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.9058, allocations: 255.4 kB / 1.144 GB, free: 44.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.9069, allocations: 0.7323 MB / 1.144 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.907, allocations: 73.86 kB / 1.144 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.9071, allocations: 94.06 kB / 1.145 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.9086, allocations: 1.22 MB / 1.146 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.9086, allocations: 3.656 kB / 1.146 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/0.9087, allocations: 39.84 kB / 1.146 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.9088, allocations: 20.28 kB / 1.146 GB, free: 43.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.9103, allocations: 1.092 MB / 1.147 GB, free: 43.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.9142, allocations: 2.273 MB / 1.149 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.9157, allocations: 0.851 MB / 1.15 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.9162, allocations: 315.9 kB / 1.15 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.9163, allocations: 24.31 kB / 1.15 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009066/0.9172, allocations: 0.64 MB / 1.151 GB, free: 42.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=94): time 2.926e-06/0.9172, allocations: 0 / 1.151 GB, free: 42.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=94): time 0.003167/0.9204, allocations: 1.234 MB / 1.152 GB, free: 42.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.9204, allocations: 200.3 kB / 1.152 GB, free: 42.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.9212, allocations: 0.6242 MB / 1.153 GB, free: 42.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.9213, allocations: 51.92 kB / 1.153 GB, free: 42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.9215, allocations: 412.7 kB / 1.153 GB, free: 41.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.9217, allocations: 309 kB / 1.154 GB, free: 41.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.922, allocations: 187.6 kB / 1.154 GB, free: 41.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.9221, allocations: 393.8 kB / 1.154 GB, free: 41.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.9226, allocations: 309.9 kB / 1.154 GB, free: 41.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.9233, allocations: 0.5328 MB / 1.155 GB, free: 41.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.9244, allocations: 0.6775 MB / 1.156 GB, free: 41.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9244, allocations: 0 / 1.156 GB, free: 41.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002056/0.9264, allocations: 0.9734 MB / 1.157 GB, free: 40.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.9264, allocations: 5.719 kB / 1.157 GB, free: 40.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9264, allocations: 0.875 kB / 1.157 GB, free: 40.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.9271, allocations: 87.22 kB / 1.157 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.9278, allocations: 176.6 kB / 1.157 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.9296, allocations: 1.496 MB / 1.158 GB, free: 39.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.9305, allocations: 97.98 kB / 1.158 GB, free: 39.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.9305, allocations: 44.33 kB / 1.158 GB, free: 39.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,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 (115): * Single equations (assignments): 114 * 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.000477/0.931, allocations: 287.3 kB / 1.159 GB, free: 39.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.9312, allocations: 88.5 kB / 1.159 GB, free: 39.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.9336, allocations: 1.172 MB / 1.16 GB, free: 39.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9336, allocations: 11.44 kB / 1.16 GB, free: 39.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.9336, allocations: 1 kB / 1.16 GB, free: 39.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.9336, allocations: 10.02 kB / 1.16 GB, free: 39.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/0.9371, allocations: 2.013 MB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9371, allocations: 1.125 kB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.9377, allocations: 160.9 kB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.9382, allocations: 70.59 kB / 1.162 GB, free: 38.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.9382, allocations: 36 kB / 1.162 GB, free: 38.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.9398, allocations: 1.521 MB / 1.164 GB, free: 37.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9398, allocations: 3.875 kB / 1.164 GB, free: 37.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.9418, allocations: 1.086 MB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.9422, allocations: 212.1 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.9424, allocations: 30.25 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.9431, allocations: 71.75 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.9433, allocations: 84.03 kB / 1.165 GB, free: 37.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.9433, allocations: 41.17 kB / 1.165 GB, free: 37.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005176/0.9439, allocations: 444.2 kB / 1.166 GB, free: 37.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9439, allocations: 0.8125 kB / 1.166 GB, free: 37.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001035/0.9449, allocations: 350.6 kB / 1.166 GB, free: 37.29 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002268/0.9472, allocations: 0.6662 MB / 1.167 GB, free: 37.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.9496, allocations: 0.8873 MB / 1.167 GB, free: 36.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.9496, allocations: 2.172 kB / 1.167 GB, free: 36.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009914/0.9506, allocations: 0.5246 MB / 1.168 GB, free: 36.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.9521, allocations: 300.3 kB / 1.168 GB, free: 36.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.9554, allocations: 1.749 MB / 1.17 GB, free: 36.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.9559, allocations: 460.8 kB / 1.17 GB, free: 36.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.9569, allocations: 281.5 kB / 1.171 GB, free: 35.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.9572, allocations: 115 kB / 1.171 GB, free: 35.97 MB / 1.076 GB Notification: Performance of SimCode: time 1.523e-06/0.9572, allocations: 0 / 1.171 GB, free: 35.97 MB / 1.076 GB Notification: Performance of Templates: time 0.03629/0.9935, allocations: 16.25 MB / 1.187 GB, free: 34.21 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.07541960850358]