Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_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_9_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.001171/0.001171, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001175/0.001175, allocations: 189 kB / 17.3 MB, free: 5.613 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 61.06 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3194, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007222/0.3266, allocations: 4.454 MB / 0.9555 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6862/1.013, allocations: 150.6 MB / 1.103 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/1.014, allocations: 16.47 kB / 1.103 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005537/1.014, allocations: 175 kB / 1.103 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/1.016, allocations: 0.5138 MB / 1.103 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/1.018, allocations: 0.8472 MB / 1.104 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001794/1.02, allocations: 1.353 MB / 1.105 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/1.021, allocations: 0.6295 MB / 1.106 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/1.022, allocations: 492.4 kB / 1.106 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/1.022, allocations: 0.5079 MB / 1.107 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002297/1.023, allocations: 119 kB / 1.107 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/1.024, allocations: 491.5 kB / 1.108 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003148/1.024, allocations: 302.8 kB / 1.108 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006244/1.025, allocations: 0.5617 MB / 1.108 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/1.027, allocations: 1.634 MB / 1.11 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.027, allocations: 0.7812 kB / 1.11 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.027, allocations: 0.6562 kB / 1.11 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.563e-05/1.027, allocations: 0 / 1.11 GB, free: 4.145 MB / 0.8575 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.003466/1.031, allocations: 1.458 MB / 1.111 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.031, allocations: 9.531 kB / 1.111 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.032, allocations: 187.9 kB / 1.112 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.033, allocations: 0.7787 MB / 1.112 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/1.033, allocations: 62.22 kB / 1.112 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.033, allocations: 84.73 kB / 1.112 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.035, allocations: 0.9464 MB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/1.035, allocations: 0 / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/1.035, allocations: 37.73 kB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/1.035, allocations: 25.2 kB / 1.113 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/1.037, allocations: 1.13 MB / 1.115 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/1.041, allocations: 2.509 MB / 1.117 GB, free: 17.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.043, allocations: 0.919 MB / 1.118 GB, free: 17.83 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/1.043, allocations: 316.5 kB / 1.118 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-05/1.043, allocations: 31.73 kB / 1.118 GB, free: 17.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008266/1.044, allocations: 0.5253 MB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.485e-06/1.044, allocations: 4 kB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003184/1.047, allocations: 1.243 MB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.047, allocations: 200.4 kB / 1.12 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/1.048, allocations: 0.6398 MB / 1.121 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/1.048, allocations: 40.3 kB / 1.121 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/1.048, allocations: 404.1 kB / 1.121 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/1.049, allocations: 275.7 kB / 1.121 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/1.049, allocations: 172.7 kB / 1.122 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.049, allocations: 390.9 kB / 1.122 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/1.05, allocations: 285.8 kB / 1.122 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/1.05, allocations: 377.5 kB / 1.123 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.051, allocations: 0.6336 MB / 1.123 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.051, allocations: 1.375 kB / 1.123 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001902/1.053, allocations: 0.8812 MB / 1.124 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.053, allocations: 7.547 kB / 1.124 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.053, allocations: 1.438 kB / 1.124 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/1.054, allocations: 90.27 kB / 1.124 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/1.055, allocations: 170.4 kB / 1.124 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.057, allocations: 1.626 MB / 1.126 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/1.058, allocations: 103.9 kB / 1.126 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/1.058, allocations: 39.52 kB / 1.126 GB, free: 14.74 MB / 0.8731 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.0006247/1.058, allocations: 282.9 kB / 1.126 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.059, allocations: 84.09 kB / 1.126 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/1.061, allocations: 1.132 MB / 1.128 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.061, allocations: 17.72 kB / 1.128 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.061, allocations: 3.984 kB / 1.128 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.061, allocations: 6.797 kB / 1.128 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.064, allocations: 2.025 MB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.064, allocations: 3.094 kB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/1.065, allocations: 154.4 kB / 1.13 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/1.066, allocations: 73.89 kB / 1.13 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.093e-05/1.066, allocations: 27.7 kB / 1.13 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.067, allocations: 1.666 MB / 1.131 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.067, allocations: 1.203 kB / 1.131 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.069, allocations: 1.057 MB / 1.132 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/1.07, allocations: 276.5 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/1.07, allocations: 21.84 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/1.071, allocations: 68.23 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.071, allocations: 77.67 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/1.071, allocations: 41.11 kB / 1.133 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005609/1.072, allocations: 461.5 kB / 1.133 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/1.072, allocations: 0 / 1.133 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009941/1.073, allocations: 321.2 kB / 1.134 GB, free: 12.1 MB / 0.8731 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.001278/1.074, allocations: 0.6099 MB / 1.134 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001699/1.076, allocations: 0.8622 MB / 1.135 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.076, allocations: 1.375 kB / 1.135 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/1.076, allocations: 0.5562 MB / 1.136 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.078, allocations: 295.3 kB / 1.136 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/1.081, allocations: 1.796 MB / 1.138 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/1.082, allocations: 1.038 MB / 1.139 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008949/1.083, allocations: 263.1 kB / 1.139 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/1.083, allocations: 113.5 kB / 1.139 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of SimCode: time 9.42e-07/1.083, allocations: 0 / 1.139 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.02708/1.11, allocations: 15.24 MB / 1.154 GB, free: 5.5 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches