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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.2 MB / 0.6647 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 67.89 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6611, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005844/0.667, allocations: 4.433 MB / 0.9539 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1924/0.8594, allocations: 150.6 MB / 1.101 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.8608, allocations: 19.88 kB / 1.101 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.8619, allocations: 174.3 kB / 1.101 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.8645, allocations: 0.5213 MB / 1.102 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.8671, allocations: 0.8387 MB / 1.102 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.8692, allocations: 1.343 MB / 1.104 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.8705, allocations: 0.622 MB / 1.104 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.8715, allocations: 498.3 kB / 1.105 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009508/0.8725, allocations: 0.5056 MB / 1.105 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.8728, allocations: 120 kB / 1.105 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.8742, allocations: 463.6 kB / 1.106 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.8746, allocations: 299.1 kB / 1.106 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008965/0.8756, allocations: 0.5712 MB / 1.107 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.8787, allocations: 1.593 MB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8787, allocations: 0 / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8787, allocations: 0 / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.882e-05/0.8788, allocations: 0 / 1.108 GB, free: 14.65 MB / 0.8731 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.003485/0.8823, allocations: 1.452 MB / 1.11 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.8824, allocations: 12.02 kB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.8833, allocations: 187.3 kB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.8845, allocations: 0.7586 MB / 1.111 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.8845, allocations: 62 kB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.8847, allocations: 87.94 kB / 1.111 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.8862, allocations: 0.9457 MB / 1.112 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.8863, allocations: 0 / 1.112 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.8864, allocations: 40 kB / 1.112 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.8864, allocations: 20 kB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.8882, allocations: 1.124 MB / 1.113 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.8922, allocations: 2.558 MB / 1.115 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8939, allocations: 0.9093 MB / 1.116 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.8944, allocations: 318.7 kB / 1.117 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.8945, allocations: 36.67 kB / 1.117 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/0.8955, allocations: 0.5119 MB / 1.117 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.8955, allocations: 0 / 1.117 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003231/0.8987, allocations: 1.255 MB / 1.118 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.8989, allocations: 188.9 kB / 1.119 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.8997, allocations: 0.641 MB / 1.119 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.8998, allocations: 41.7 kB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.9001, allocations: 408.3 kB / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.9004, allocations: 276 kB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.9007, allocations: 174.5 kB / 1.12 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.9009, allocations: 382.8 kB / 1.12 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/0.9014, allocations: 281.8 kB / 1.121 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.9021, allocations: 383.9 kB / 1.121 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.9032, allocations: 0.6368 MB / 1.122 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9032, allocations: 0 / 1.122 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001985/0.9052, allocations: 0.8839 MB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.9052, allocations: 11.94 kB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9053, allocations: 0 / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.9059, allocations: 80.91 kB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.9068, allocations: 171.7 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.9089, allocations: 1.634 MB / 1.124 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.9097, allocations: 95.22 kB / 1.124 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.9097, allocations: 35.98 kB / 1.124 GB, free: 13.56 MB / 0.8887 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.0004702/0.9102, allocations: 283.7 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.9104, allocations: 83.16 kB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.9129, allocations: 1.14 MB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9129, allocations: 15.94 kB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.9129, allocations: 3.938 kB / 1.126 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.9129, allocations: 7.969 kB / 1.126 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.9162, allocations: 2.028 MB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9162, allocations: 0 / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.9168, allocations: 155.8 kB / 1.128 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.9173, allocations: 72.78 kB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/0.9174, allocations: 23.98 kB / 1.128 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.9192, allocations: 1.662 MB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9192, allocations: 64 / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.9213, allocations: 1.058 MB / 1.131 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.9217, allocations: 275.7 kB / 1.131 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.9218, allocations: 20 kB / 1.131 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.9225, allocations: 65.8 kB / 1.131 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.9227, allocations: 76.89 kB / 1.131 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.9228, allocations: 51.91 kB / 1.131 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005835/0.9234, allocations: 459 kB / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9234, allocations: 0 / 1.132 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008686/0.9242, allocations: 327.2 kB / 1.132 GB, free: 5.52 MB / 0.8887 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.001357/0.9256, allocations: 0.6031 MB / 1.133 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.9281, allocations: 1.1 MB / 1.134 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9281, allocations: 0 / 1.134 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.9291, allocations: 0.5434 MB / 1.134 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.9304, allocations: 298.4 kB / 1.135 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.9347, allocations: 1.826 MB / 1.136 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/0.9355, allocations: 1.032 MB / 1.137 GB, free: 244 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009886/0.9365, allocations: 274.8 kB / 1.138 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.9368, allocations: 111.3 kB / 1.138 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/0.9368, allocations: 0 / 1.138 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.02803/0.9648, allocations: 15.24 MB / 1.153 GB, free: 0.7812 MB / 0.9044 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 -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/jenkins/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