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.001382/0.001382, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001667/0.001667, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.363/2.363, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7142, allocations: 140.4 MB / 0.9491 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005638/0.7199, allocations: 4.449 MB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1835/0.9034, allocations: 148.4 MB / 1.098 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.9045, allocations: 19.88 kB / 1.098 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.9051, allocations: 134.9 kB / 1.098 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.9069, allocations: 469.3 kB / 1.099 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.9091, allocations: 0.7519 MB / 1.1 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.9104, allocations: 1.359 MB / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.9113, allocations: 0.6197 MB / 1.102 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.9119, allocations: 0.4943 MB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005324/0.9124, allocations: 0.5133 MB / 1.103 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.9126, allocations: 124 kB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.9134, allocations: 455.6 kB / 1.103 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.9137, allocations: 299.1 kB / 1.103 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.9141, allocations: 0.5634 MB / 1.104 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.9157, allocations: 1.593 MB / 1.106 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9157, allocations: 0 / 1.106 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9157, allocations: 0 / 1.106 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.9157, allocations: 4 kB / 1.106 GB, free: 1.27 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.002556/0.9183, allocations: 1.456 MB / 1.107 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.9183, allocations: 12.03 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009221/0.9193, allocations: 187.3 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.9203, allocations: 0.7508 MB / 1.108 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.9203, allocations: 62 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.9205, allocations: 87.98 kB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.922, allocations: 0.9495 MB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.9221, allocations: 0 / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.9222, allocations: 36 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.9222, allocations: 24 kB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.924, allocations: 1.124 MB / 1.11 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.9278, allocations: 2.558 MB / 1.113 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.9294, allocations: 0.915 MB / 1.113 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/0.93, allocations: 310.7 kB / 1.114 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.9301, allocations: 36.67 kB / 1.114 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009879/0.9311, allocations: 0.5158 MB / 1.114 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.454e-06/0.9311, allocations: 4 kB / 1.114 GB, free: 8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.00335/0.9345, allocations: 1.255 MB / 1.116 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/0.9346, allocations: 192.9 kB / 1.116 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.9354, allocations: 0.641 MB / 1.116 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.9355, allocations: 45.7 kB / 1.116 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.9358, allocations: 404.4 kB / 1.117 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.936, allocations: 268 kB / 1.117 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.9363, allocations: 174.5 kB / 1.117 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.9364, allocations: 386.8 kB / 1.118 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.937, allocations: 281.8 kB / 1.118 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.9377, allocations: 383.9 kB / 1.118 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.9388, allocations: 0.6329 MB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9389, allocations: 3.938 kB / 1.119 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002057/0.9409, allocations: 0.8839 MB / 1.12 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9409, allocations: 7.938 kB / 1.12 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.941, allocations: 4 kB / 1.12 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.9416, allocations: 84.83 kB / 1.12 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.9423, allocations: 171.8 kB / 1.12 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.9445, allocations: 1.622 MB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/0.9453, allocations: 103.1 kB / 1.122 GB, free: 216 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.9454, allocations: 39.97 kB / 1.122 GB, free: 176 kB / 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.0004804/0.9459, allocations: 272 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.9461, allocations: 91.03 kB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.9486, allocations: 1.144 MB / 1.123 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.9486, allocations: 8 kB / 1.123 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.9486, allocations: 3.938 kB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9487, allocations: 3.984 kB / 1.123 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.952, allocations: 2.036 MB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.952, allocations: 0 / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.9527, allocations: 147.8 kB / 1.125 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.9531, allocations: 84.72 kB / 1.125 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.9532, allocations: 27.97 kB / 1.125 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.9551, allocations: 1.654 MB / 1.127 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9551, allocations: 0 / 1.127 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.9573, allocations: 1.058 MB / 1.128 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.9576, allocations: 271.7 kB / 1.128 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.9578, allocations: 24 kB / 1.128 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/0.9585, allocations: 67.98 kB / 1.128 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.9587, allocations: 76.89 kB / 1.128 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.9588, allocations: 43.97 kB / 1.128 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005555/0.9594, allocations: 459 kB / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9594, allocations: 0 / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008814/0.9603, allocations: 331.2 kB / 1.129 GB, free: 8.137 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.001411/0.9617, allocations: 0.6027 MB / 1.13 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.9641, allocations: 1.093 MB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9641, allocations: 4 kB / 1.131 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.9651, allocations: 0.5433 MB / 1.131 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.9662, allocations: 288.3 kB / 1.132 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.9702, allocations: 2.252 MB / 1.134 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.971, allocations: 1.043 MB / 1.135 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008581/0.9718, allocations: 266.9 kB / 1.135 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.9721, allocations: 115.4 kB / 1.135 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of SimCode: time 8.41e-07/0.9721, allocations: 3.938 kB / 1.135 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of Templates: time 0.0266/0.9987, allocations: 15.11 MB / 1.15 GB, free: 3.098 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