Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_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.001063/0.001063, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001318/0.001318, allocations: 172.7 kB / 15.95 MB, free: 208 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.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.839/2.839, allocations: 437.8 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5896/0.5899, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005025/0.595, allocations: 4.176 MB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.7378, allocations: 136.8 MB / 1.16 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005429/0.7384, allocations: 15.94 kB / 1.16 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.7389, allocations: 142.8 kB / 1.16 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.7401, allocations: 461.2 kB / 1.161 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.7417, allocations: 0.6238 MB / 1.161 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.743, allocations: 1.199 MB / 1.162 GB, free: 244 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006905/0.7437, allocations: 447.6 kB / 1.163 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.7442, allocations: 342.6 kB / 1.163 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.7446, allocations: 374 kB / 1.164 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.268e-05/0.7447, allocations: 24 kB / 1.164 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.7454, allocations: 335.7 kB / 1.164 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.7456, allocations: 179.2 kB / 1.164 GB, free: 14.56 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.7458, allocations: 205.1 kB / 1.164 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.747, allocations: 1.192 MB / 1.165 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.747, allocations: 0 / 1.165 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.747, allocations: 4 kB / 1.165 GB, free: 13.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.747, allocations: 0 / 1.165 GB, free: 13.15 MB / 0.92 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.002101/0.7491, allocations: 1.216 MB / 1.167 GB, free: 11.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.7492, allocations: 12.03 kB / 1.167 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008483/0.75, allocations: 190.5 kB / 1.167 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.751, allocations: 0.7148 MB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.7511, allocations: 58 kB / 1.168 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.7512, allocations: 84 kB / 1.168 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.7527, allocations: 0.9144 MB / 1.169 GB, free: 9.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7527, allocations: 0 / 1.169 GB, free: 9.832 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.7528, allocations: 43.94 kB / 1.169 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.7529, allocations: 20 kB / 1.169 GB, free: 9.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.7546, allocations: 1.108 MB / 1.17 GB, free: 8.664 MB / 0.92 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.003905/0.7585, allocations: 2.773 MB / 1.172 GB, free: 5.773 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.76, allocations: 0.8924 MB / 1.173 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/0.7606, allocations: 302.7 kB / 1.174 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/0.7607, allocations: 36.59 kB / 1.174 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/0.7615, allocations: 496.7 kB / 1.174 GB, free: 4.027 MB / 0.92 GB Notification: Performance of pre-optimization done (n=79): time 2.355e-06/0.7615, allocations: 0 / 1.174 GB, free: 4.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=79): time 0.0029/0.7644, allocations: 1.205 MB / 1.175 GB, free: 2.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.7646, allocations: 188.6 kB / 1.175 GB, free: 2.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.7653, allocations: 0.6137 MB / 1.176 GB, free: 1.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.7654, allocations: 45.69 kB / 1.176 GB, free: 1.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.7657, allocations: 396.3 kB / 1.176 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.7659, allocations: 260.3 kB / 1.177 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.7659, allocations: 16 kB / 1.177 GB, free: 1.227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7661, allocations: 382.8 kB / 1.177 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.7666, allocations: 265.9 kB / 1.177 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.7672, allocations: 367 kB / 1.178 GB, free: 212 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.7678, allocations: 306.9 kB / 1.178 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.7678, allocations: 4 kB / 1.178 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001784/0.7696, allocations: 0.8565 MB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7696, allocations: 8 kB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7697, allocations: 0 / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.7702, allocations: 80.88 kB / 1.179 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006585/0.7709, allocations: 163.8 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.7729, allocations: 1.546 MB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.7737, allocations: 109 kB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.212e-05/0.7738, allocations: 39.97 kB / 1.181 GB, free: 12.96 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (93): * Single equations (assignments): 92 * 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.0004291/0.7742, allocations: 267.4 kB / 1.181 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.7743, allocations: 79.02 kB / 1.181 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7767, allocations: 1.073 MB / 1.182 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7767, allocations: 15.98 kB / 1.182 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.7767, allocations: 0 / 1.182 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.7767, allocations: 3.984 kB / 1.182 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.7799, allocations: 1.954 MB / 1.184 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.7799, allocations: 0 / 1.184 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.7805, allocations: 147.8 kB / 1.184 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.781, allocations: 88.72 kB / 1.184 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.7811, allocations: 23.98 kB / 1.184 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.7828, allocations: 1.56 MB / 1.186 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7828, allocations: 0 / 1.186 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.7847, allocations: 0.9998 MB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/0.7851, allocations: 287.7 kB / 1.187 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7853, allocations: 16 kB / 1.187 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.7859, allocations: 79.92 kB / 1.187 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.7861, allocations: 76.83 kB / 1.187 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.7861, allocations: 31.98 kB / 1.187 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005649/0.7867, allocations: 451 kB / 1.188 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7867, allocations: 0 / 1.188 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009071/0.7876, allocations: 323.1 kB / 1.188 GB, free: 5.262 MB / 0.9356 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 (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.001331/0.789, allocations: 0.5939 MB / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.7906, allocations: 0.8353 MB / 1.189 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7906, allocations: 0 / 1.189 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/0.7915, allocations: 0.512 MB / 1.19 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.7927, allocations: 268.2 kB / 1.19 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.7958, allocations: 2.023 MB / 1.192 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.7964, allocations: 1.02 MB / 1.193 GB, free: 120 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008915/0.7973, allocations: 258.6 kB / 1.193 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.7975, allocations: 103.4 kB / 1.193 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of SimCode: time 9.41e-07/0.7976, allocations: 8 kB / 1.193 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.02408/0.8216, allocations: 13.99 MB / 1.207 GB, free: 1.934 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches