Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002288/0.002288, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.678/2.678, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 61.69 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.01215/0.3534, allocations: 4.953 MB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2393/0.5927, allocations: 148.3 MB / 1.202 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008793/0.5937, allocations: 15.94 kB / 1.202 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005963/0.5943, allocations: 154.8 kB / 1.202 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.5958, allocations: 479.5 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.5975, allocations: 0.7411 MB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.5987, allocations: 1.331 MB / 1.204 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008179/0.5996, allocations: 0.5791 MB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.6001, allocations: 442.2 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.6007, allocations: 489.7 kB / 1.206 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.6009, allocations: 60 kB / 1.206 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.6017, allocations: 399.6 kB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.6019, allocations: 243 kB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.6024, allocations: 0.5206 MB / 1.207 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.6039, allocations: 1.569 MB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.6039, allocations: 4 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6039, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.604, allocations: 0 / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002604/0.6066, allocations: 1.468 MB / 1.21 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6066, allocations: 8.031 kB / 1.21 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/0.6076, allocations: 183.4 kB / 1.21 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6087, allocations: 0.7546 MB / 1.211 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.6087, allocations: 66 kB / 1.211 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6089, allocations: 84 kB / 1.211 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.6106, allocations: 0.9496 MB / 1.212 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6106, allocations: 4 kB / 1.212 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.6107, allocations: 36 kB / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.6107, allocations: 20 kB / 1.212 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.6126, allocations: 1.128 MB / 1.213 GB, free: 3.145 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.004337/0.6169, allocations: 2.767 MB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.6187, allocations: 0.9212 MB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000585/0.6193, allocations: 320.9 kB / 1.217 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.053e-05/0.6194, allocations: 32.69 kB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.6204, allocations: 0.512 MB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/0.6204, allocations: 0 / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003472/0.6239, allocations: 1.259 MB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.6241, allocations: 196.9 kB / 1.219 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/0.6249, allocations: 0.6409 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.625, allocations: 45.7 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.6254, allocations: 400.4 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.6256, allocations: 280 kB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.6259, allocations: 178.4 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.626, allocations: 386.8 kB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.6266, allocations: 277.8 kB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.6273, allocations: 387.9 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6285, allocations: 0.6329 MB / 1.222 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6285, allocations: 0 / 1.222 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002083/0.6306, allocations: 0.8918 MB / 1.223 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6306, allocations: 11.92 kB / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6307, allocations: 0 / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/0.6313, allocations: 80.91 kB / 1.223 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.632, allocations: 167.8 kB / 1.223 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.6341, allocations: 1.528 MB / 1.225 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.6349, allocations: 87.33 kB / 1.225 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/0.635, allocations: 39.97 kB / 1.225 GB, free: 6.703 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004705/0.6355, allocations: 283.2 kB / 1.225 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.6357, allocations: 86.97 kB / 1.225 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.6383, allocations: 1.14 MB / 1.226 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.6383, allocations: 12 kB / 1.226 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6383, allocations: 0 / 1.226 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6383, allocations: 11.91 kB / 1.226 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.6419, allocations: 2.009 MB / 1.228 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.642, allocations: 4 kB / 1.228 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.6426, allocations: 167.7 kB / 1.228 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/0.6432, allocations: 80.78 kB / 1.229 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.6433, allocations: 27.97 kB / 1.229 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.6452, allocations: 1.544 MB / 1.23 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6452, allocations: 0 / 1.23 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.6474, allocations: 1.054 MB / 1.231 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/0.6478, allocations: 275.7 kB / 1.231 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.648, allocations: 23.94 kB / 1.231 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.6487, allocations: 70.11 kB / 1.231 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6489, allocations: 72.89 kB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.649, allocations: 43.97 kB / 1.232 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005868/0.6496, allocations: 467 kB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6496, allocations: 0 / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009578/0.6506, allocations: 339.1 kB / 1.232 GB, free: 14.78 MB / 0.9981 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 (100): * Single equations (assignments): 93 * 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.001462/0.6521, allocations: 0.6015 MB / 1.233 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.6538, allocations: 0.8624 MB / 1.234 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.6539, allocations: 4 kB / 1.234 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6549, allocations: 0.5434 MB / 1.234 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.6561, allocations: 276.3 kB / 1.235 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.6597, allocations: 2.13 MB / 1.237 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.6603, allocations: 1.036 MB / 1.238 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008946/0.6612, allocations: 278.9 kB / 1.238 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.6616, allocations: 111.4 kB / 1.238 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.6616, allocations: 4 kB / 1.238 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of Templates: time 0.5027/1.164, allocations: 14.92 MB / 1.253 GB, free: 191.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches