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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007977/0.007977, allocations: 101 kB / 15.73 MB, free: 6.469 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.001902/0.001902, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.847/2.847, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3611, allocations: 157.4 MB / 1.208 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006677/0.3678, allocations: 4.919 MB / 1.213 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9739/1.342, allocations: 150.6 MB / 1.36 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/1.343, allocations: 19.28 kB / 1.36 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007311/1.344, allocations: 194.6 kB / 1.36 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/1.346, allocations: 0.5513 MB / 1.36 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00252/1.349, allocations: 0.8522 MB / 1.361 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002041/1.351, allocations: 1.426 MB / 1.363 GB, free: 7.699 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/1.352, allocations: 0.5844 MB / 1.363 GB, free: 7.395 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/1.353, allocations: 0.5009 MB / 1.364 GB, free: 7.148 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/1.353, allocations: 0.5205 MB / 1.364 GB, free: 6.875 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/1.354, allocations: 118.1 kB / 1.364 GB, free: 6.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/1.355, allocations: 494.8 kB / 1.365 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/1.355, allocations: 303 kB / 1.365 GB, free: 6.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000753/1.356, allocations: 0.5721 MB / 1.366 GB, free: 6.191 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/1.358, allocations: 1.665 MB / 1.367 GB, free: 5.484 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.358, allocations: 1.469 kB / 1.367 GB, free: 5.484 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/1.358, allocations: 0 / 1.367 GB, free: 5.484 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.191e-05/1.359, allocations: 0 / 1.367 GB, free: 5.484 MB / 1.061 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.003291/1.362, allocations: 1.459 MB / 1.369 GB, free: 4.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.362, allocations: 9.281 kB / 1.369 GB, free: 4.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.363, allocations: 196.2 kB / 1.369 GB, free: 4.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/1.364, allocations: 0.7752 MB / 1.37 GB, free: 3.926 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/1.365, allocations: 62.25 kB / 1.37 GB, free: 3.902 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.365, allocations: 82.69 kB / 1.37 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.366, allocations: 0.9503 MB / 1.371 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/1.366, allocations: 1.562 kB / 1.371 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/1.367, allocations: 31.81 kB / 1.371 GB, free: 3.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/1.367, allocations: 22.03 kB / 1.371 GB, free: 3.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/1.369, allocations: 1.126 MB / 1.372 GB, free: 3.039 MB / 1.061 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.006172/1.376, allocations: 2.714 MB / 1.374 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/1.378, allocations: 0.9174 MB / 1.375 GB, free: 352 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/1.379, allocations: 310.9 kB / 1.376 GB, free: 192 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/1.379, allocations: 36.05 kB / 1.376 GB, free: 172 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.38, allocations: 0.5133 MB / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 6.984e-06/1.38, allocations: 4 kB / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.0049/1.385, allocations: 1.252 MB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/1.385, allocations: 189.5 kB / 1.378 GB, free: 14.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/1.387, allocations: 0.6418 MB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/1.388, allocations: 43.17 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000571/1.388, allocations: 395.8 kB / 1.379 GB, free: 14.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/1.388, allocations: 271.4 kB / 1.379 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/1.389, allocations: 177.2 kB / 1.379 GB, free: 13.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002418/1.389, allocations: 389 kB / 1.379 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/1.39, allocations: 281.2 kB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/1.391, allocations: 370.2 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/1.393, allocations: 0.6334 MB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.393, allocations: 1.031 kB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003346/1.396, allocations: 0.8802 MB / 1.382 GB, free: 12.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.397, allocations: 5.25 kB / 1.382 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.397, allocations: 1.688 kB / 1.382 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007935/1.397, allocations: 91.98 kB / 1.382 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/1.398, allocations: 169.1 kB / 1.382 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/1.401, allocations: 1.625 MB / 1.383 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/1.403, allocations: 101.4 kB / 1.383 GB, free: 10.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.403, allocations: 42.97 kB / 1.384 GB, free: 10.55 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: 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.0008542/1.404, allocations: 273.4 kB / 1.384 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/1.404, allocations: 84.09 kB / 1.384 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/1.408, allocations: 1.129 MB / 1.385 GB, free: 9.664 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.408, allocations: 18.97 kB / 1.385 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.408, allocations: 7.938 kB / 1.385 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.408, allocations: 3.984 kB / 1.385 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/1.414, allocations: 2.005 MB / 1.387 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.414, allocations: 0 / 1.387 GB, free: 8.328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/1.414, allocations: 163 kB / 1.387 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/1.415, allocations: 74.56 kB / 1.387 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/1.415, allocations: 24.08 kB / 1.387 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.417, allocations: 1.661 MB / 1.389 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.417, allocations: 1.094 kB / 1.389 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/1.42, allocations: 1.045 MB / 1.39 GB, free: 6.027 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007252/1.421, allocations: 281.6 kB / 1.39 GB, free: 5.781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.421, allocations: 21.44 kB / 1.39 GB, free: 5.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/1.422, allocations: 66.8 kB / 1.39 GB, free: 5.734 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.422, allocations: 79.98 kB / 1.39 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/1.422, allocations: 40.45 kB / 1.39 GB, free: 5.676 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008405/1.423, allocations: 460.3 kB / 1.391 GB, free: 5.414 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/1.423, allocations: 0 / 1.391 GB, free: 5.414 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001636/1.425, allocations: 336.1 kB / 1.391 GB, free: 5.316 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: 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.00188/1.427, allocations: 0.6137 MB / 1.392 GB, free: 5.031 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002143/1.429, allocations: 0.8601 MB / 1.393 GB, free: 4.586 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.429, allocations: 0 / 1.393 GB, free: 4.586 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.43, allocations: 0.5383 MB / 1.393 GB, free: 4.285 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/1.432, allocations: 300.7 kB / 1.393 GB, free: 4.133 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.435, allocations: 1.691 MB / 1.395 GB, free: 3.133 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/1.436, allocations: 1.032 MB / 1.396 GB, free: 2.285 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009825/1.437, allocations: 273.4 kB / 1.396 GB, free: 2.148 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/1.438, allocations: 113.1 kB / 1.396 GB, free: 2.109 MB / 1.076 GB Notification: Performance of SimCode: time 7.52e-07/1.438, allocations: 0 / 1.396 GB, free: 2.109 MB / 1.076 GB Notification: Performance of Templates: time 0.03099/1.469, allocations: 16.07 MB / 1.412 GB, free: 5.094 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) 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) Reference file matches