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.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.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.001144/0.001143, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001552/0.001552, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005172, allocations: 9.156 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3796, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005249/0.3849, allocations: 4.256 MB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1808/0.5657, allocations: 136.8 MB / 1.196 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5669, allocations: 19.88 kB / 1.196 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000894/0.5678, allocations: 146.8 kB / 1.196 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.5702, allocations: 468.2 kB / 1.196 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.5728, allocations: 0.6449 MB / 1.197 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.5752, allocations: 1.234 MB / 1.198 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.5764, allocations: 451.7 kB / 1.199 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.5774, allocations: 358.5 kB / 1.199 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009203/0.5784, allocations: 390 kB / 1.199 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.5786, allocations: 28 kB / 1.199 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.5797, allocations: 335.7 kB / 1.2 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.58, allocations: 199.1 kB / 1.2 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.5804, allocations: 205.1 kB / 1.2 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.5822, allocations: 1.192 MB / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5822, allocations: 0 / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5822, allocations: 0 / 1.201 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.38e-05/0.5823, allocations: 0 / 1.201 GB, free: 2.152 MB / 0.9512 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.003213/0.5855, allocations: 1.261 MB / 1.203 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5856, allocations: 8.031 kB / 1.203 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5866, allocations: 194.5 kB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.5879, allocations: 0.731 MB / 1.203 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.588, allocations: 62 kB / 1.203 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.5881, allocations: 84 kB / 1.204 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.5898, allocations: 0.934 MB / 1.204 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5898, allocations: 4 kB / 1.204 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.5899, allocations: 39.98 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.5899, allocations: 24 kB / 1.205 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.5917, allocations: 1.124 MB / 1.206 GB, free: 13.55 MB / 0.9669 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.004064/0.5957, allocations: 2.773 MB / 1.208 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.5973, allocations: 0.9204 MB / 1.209 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.5978, allocations: 314.7 kB / 1.21 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.5979, allocations: 32.67 kB / 1.21 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009069/0.5989, allocations: 0.5236 MB / 1.21 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 4.328e-06/0.5989, allocations: 0 / 1.21 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.002972/0.6018, allocations: 1.266 MB / 1.211 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.602, allocations: 188.9 kB / 1.212 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.6028, allocations: 0.6371 MB / 1.212 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.6029, allocations: 41.7 kB / 1.212 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.6033, allocations: 400.4 kB / 1.213 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.6036, allocations: 272.1 kB / 1.213 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.6036, allocations: 16 kB / 1.213 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.6038, allocations: 394.7 kB / 1.213 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.6044, allocations: 269.9 kB / 1.213 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.605, allocations: 375.1 kB / 1.214 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.6056, allocations: 318.8 kB / 1.214 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6057, allocations: 4 kB / 1.214 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001907/0.6076, allocations: 0.88 MB / 1.215 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6076, allocations: 4 kB / 1.215 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6076, allocations: 3.938 kB / 1.215 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.6082, allocations: 92.8 kB / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.6089, allocations: 167.8 kB / 1.215 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.6109, allocations: 1.522 MB / 1.217 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.6117, allocations: 115.3 kB / 1.217 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.6118, allocations: 35.97 kB / 1.217 GB, free: 1.625 MB / 0.9669 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000529/0.6124, allocations: 275.8 kB / 1.217 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.6125, allocations: 82.97 kB / 1.217 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.615, allocations: 1.147 MB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.615, allocations: 15.98 kB / 1.218 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.615, allocations: 0 / 1.218 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.615, allocations: 7.969 kB / 1.218 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003463/0.6185, allocations: 2.008 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6185, allocations: 4 kB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.6191, allocations: 159.8 kB / 1.22 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.6196, allocations: 84.78 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.6197, allocations: 27.97 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.6214, allocations: 1.548 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6215, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6235, allocations: 1.051 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.624, allocations: 295.6 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.6242, allocations: 16 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.6249, allocations: 83.92 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6251, allocations: 76.89 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.6252, allocations: 43.97 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000714/0.6259, allocations: 455 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6259, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001126/0.627, allocations: 343.1 kB / 1.224 GB, free: 9.68 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.6286, allocations: 0.6053 MB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.6305, allocations: 0.8587 MB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6305, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.6315, allocations: 0.5432 MB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6327, allocations: 277.9 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.6364, allocations: 2.1 MB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.6371, allocations: 1.032 MB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009499/0.638, allocations: 262.8 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.6384, allocations: 111.4 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.6384, allocations: 4 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.03103/0.6694, allocations: 14.38 MB / 1.244 GB, free: 5.797 MB / 0.9981 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