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.00855/0.00855, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.002021/0.002021, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.48/1.48, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.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.428/2.428, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 71.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8013, allocations: 140.4 MB / 0.9496 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005795/0.8071, allocations: 4.451 MB / 0.9539 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.9847, allocations: 148.3 MB / 1.099 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.986, allocations: 15.94 kB / 1.099 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.9866, allocations: 142.9 kB / 1.099 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.9885, allocations: 451.1 kB / 1.099 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.9906, allocations: 0.7294 MB / 1.1 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.9919, allocations: 1.257 MB / 1.101 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.9928, allocations: 0.6116 MB / 1.102 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.9934, allocations: 430.2 kB / 1.102 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.9939, allocations: 481.7 kB / 1.103 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.9941, allocations: 60 kB / 1.103 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009144/0.995, allocations: 399.6 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.9953, allocations: 247 kB / 1.103 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.9957, allocations: 0.501 MB / 1.104 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.9969, allocations: 1.204 MB / 1.105 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.9969, allocations: 0 / 1.105 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9969, allocations: 0 / 1.105 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.9969, allocations: 3.938 kB / 1.105 GB, free: 2.473 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.002713/0.9997, allocations: 1.452 MB / 1.106 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9997, allocations: 12.03 kB / 1.106 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/1.001, allocations: 183.3 kB / 1.107 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.002, allocations: 0.7508 MB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/1.002, allocations: 73.88 kB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.002, allocations: 88 kB / 1.108 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.003, allocations: 0.9457 MB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.003, allocations: 4 kB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/1.004, allocations: 36 kB / 1.109 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/1.004, allocations: 23.98 kB / 1.109 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/1.005, allocations: 1.124 MB / 1.11 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/1.009, allocations: 2.55 MB / 1.112 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/1.011, allocations: 0.911 MB / 1.113 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/1.011, allocations: 318.7 kB / 1.113 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-05/1.011, allocations: 40.67 kB / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009539/1.012, allocations: 0.508 MB / 1.114 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.164e-06/1.012, allocations: 0 / 1.114 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003231/1.016, allocations: 1.255 MB / 1.115 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.016, allocations: 192.9 kB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/1.017, allocations: 0.6371 MB / 1.116 GB, free: 7.055 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/1.017, allocations: 49.69 kB / 1.116 GB, free: 7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/1.017, allocations: 400.4 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/1.017, allocations: 276 kB / 1.117 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.017, allocations: 178.5 kB / 1.117 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.018, allocations: 386.8 kB / 1.117 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/1.018, allocations: 273.8 kB / 1.117 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/1.019, allocations: 387.9 kB / 1.118 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.02, allocations: 0.6329 MB / 1.118 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.02, allocations: 0 / 1.118 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001998/1.022, allocations: 0.8839 MB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.022, allocations: 11.94 kB / 1.119 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.022, allocations: 0 / 1.119 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/1.023, allocations: 80.91 kB / 1.119 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/1.023, allocations: 171.8 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.025, allocations: 1.52 MB / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/1.026, allocations: 103.2 kB / 1.121 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/1.026, allocations: 39.97 kB / 1.121 GB, free: 1.488 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.0005143/1.027, allocations: 275.8 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.027, allocations: 86.91 kB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/1.029, allocations: 1.129 MB / 1.123 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.029, allocations: 12 kB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/1.029, allocations: 0 / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.029, allocations: 7.922 kB / 1.123 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/1.033, allocations: 2.036 MB / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.033, allocations: 0 / 1.125 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/1.033, allocations: 163.7 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/1.034, allocations: 76.78 kB / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/1.034, allocations: 31.97 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.036, allocations: 1.544 MB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.036, allocations: 0 / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.038, allocations: 1.055 MB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/1.039, allocations: 279.7 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.039, allocations: 23.94 kB / 1.128 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000722/1.04, allocations: 65.33 kB / 1.128 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.04, allocations: 76.83 kB / 1.128 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.329e-05/1.04, allocations: 39.97 kB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006377/1.041, allocations: 467 kB / 1.128 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 4 kB / 1.128 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001031/1.042, allocations: 323.2 kB / 1.129 GB, free: 9.57 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.001577/1.043, allocations: 0.6173 MB / 1.129 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.045, allocations: 0.8627 MB / 1.13 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.045, allocations: 4 kB / 1.13 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/1.046, allocations: 0.5392 MB / 1.131 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.047, allocations: 263.3 kB / 1.131 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/1.052, allocations: 2.288 MB / 1.133 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/1.053, allocations: 1.043 MB / 1.134 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/1.053, allocations: 119.4 kB / 1.134 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of SimCode: time 4.31e-07/1.053, allocations: 0 / 1.134 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of Templates: time 0.02938/1.082, allocations: 18.83 MB / 1.153 GB, free: 1.172 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/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