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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 60.59 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3034, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006515/0.3099, allocations: 4.84 MB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6703/0.9802, allocations: 150.6 MB / 1.178 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.9813, allocations: 23.38 kB / 1.178 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.9819, allocations: 189.9 kB / 1.179 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.984, allocations: 0.545 MB / 1.179 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.9862, allocations: 0.8361 MB / 1.18 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.9878, allocations: 1.381 MB / 1.181 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.9888, allocations: 0.5985 MB / 1.182 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008879/0.9897, allocations: 482.5 kB / 1.182 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006551/0.9903, allocations: 0.4974 MB / 1.183 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.9905, allocations: 117.3 kB / 1.183 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.9916, allocations: 492.5 kB / 1.183 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.9919, allocations: 296.8 kB / 1.184 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.9925, allocations: 0.5523 MB / 1.184 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.9946, allocations: 1.645 MB / 1.186 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9947, allocations: 0 / 1.186 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.439e-06/0.9947, allocations: 0.9688 kB / 1.186 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.9947, allocations: 3.938 kB / 1.186 GB, free: 2.066 MB / 0.8887 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.002741/0.9974, allocations: 1.414 MB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9975, allocations: 9.531 kB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.9985, allocations: 187 kB / 1.187 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.9999, allocations: 0.76 MB / 1.188 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/1, allocations: 67.31 kB / 1.188 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/1, allocations: 78.41 kB / 1.188 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.002, allocations: 0.9207 MB / 1.189 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.002, allocations: 0 / 1.189 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/1.002, allocations: 33.31 kB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/1.002, allocations: 21.62 kB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/1.004, allocations: 1.112 MB / 1.19 GB, free: 15.02 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/1.008, allocations: 2.701 MB / 1.193 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.009, allocations: 0.8931 MB / 1.194 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/1.01, allocations: 306.2 kB / 1.194 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/1.01, allocations: 37.66 kB / 1.194 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008276/1.011, allocations: 493.4 kB / 1.195 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.365e-06/1.011, allocations: 4 kB / 1.195 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.003073/1.014, allocations: 1.189 MB / 1.196 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.014, allocations: 196.8 kB / 1.196 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/1.015, allocations: 0.6219 MB / 1.197 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/1.015, allocations: 41.92 kB / 1.197 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/1.015, allocations: 393.2 kB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/1.015, allocations: 256.7 kB / 1.197 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/1.016, allocations: 160.5 kB / 1.197 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000279/1.016, allocations: 388.5 kB / 1.198 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/1.017, allocations: 269.7 kB / 1.198 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/1.017, allocations: 362.5 kB / 1.198 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.018, allocations: 0.6022 MB / 1.199 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.018, allocations: 0 / 1.199 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001885/1.02, allocations: 0.8519 MB / 1.2 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/1.02, allocations: 4.938 kB / 1.2 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.02, allocations: 0 / 1.2 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/1.021, allocations: 89.61 kB / 1.2 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/1.021, allocations: 153.8 kB / 1.2 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/1.024, allocations: 1.647 MB / 1.202 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/1.024, allocations: 93.25 kB / 1.202 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/1.024, allocations: 46.47 kB / 1.202 GB, free: 6.652 MB / 0.9044 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.000462/1.025, allocations: 269.6 kB / 1.202 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/1.025, allocations: 83.69 kB / 1.202 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/1.027, allocations: 1.057 MB / 1.203 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.027, allocations: 10.53 kB / 1.203 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.027, allocations: 0 / 1.203 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.027, allocations: 7.922 kB / 1.203 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.03, allocations: 1.958 MB / 1.205 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.031, allocations: 0 / 1.205 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/1.031, allocations: 144.2 kB / 1.205 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/1.031, allocations: 69.88 kB / 1.205 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.032, allocations: 24.08 kB / 1.205 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.033, allocations: 1.678 MB / 1.207 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.033, allocations: 0 / 1.207 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/1.035, allocations: 1.002 MB / 1.208 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/1.036, allocations: 271.2 kB / 1.208 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.036, allocations: 17.28 kB / 1.208 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/1.037, allocations: 66.53 kB / 1.208 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.037, allocations: 65.53 kB / 1.208 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.863e-05/1.037, allocations: 39.03 kB / 1.208 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005837/1.037, allocations: 450 kB / 1.209 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.2e-07/1.037, allocations: 4 kB / 1.209 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009359/1.038, allocations: 328.3 kB / 1.209 GB, free: 1.516 MB / 0.9044 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.001399/1.04, allocations: 0.5961 MB / 1.21 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.042, allocations: 0.8265 MB / 1.211 GB, free: 460 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.042, allocations: 0 / 1.211 GB, free: 460 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/1.042, allocations: 0.5206 MB / 1.211 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.044, allocations: 308.6 kB / 1.211 GB, free: 15.63 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.047, allocations: 1.624 MB / 1.213 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.047, allocations: 1.015 MB / 1.214 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007781/1.048, allocations: 266.5 kB / 1.214 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/1.048, allocations: 103.4 kB / 1.214 GB, free: 12.57 MB / 0.92 GB Notification: Performance of SimCode: time 6.72e-07/1.048, allocations: 0 / 1.214 GB, free: 12.57 MB / 0.92 GB Notification: Performance of Templates: time 0.02485/1.073, allocations: 15.17 MB / 1.229 GB, free: 13.57 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches