Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001799/0.001799, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00217/0.00217, allocations: 199.2 kB / 16.14 MB, free: 6.719 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.652/1.652, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.733/2.733, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.697, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007276/0.7043, allocations: 4.969 MB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1928/0.8972, allocations: 148.3 MB / 1.166 GB, free: 8.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/0.898, allocations: 15.94 kB / 1.166 GB, free: 8.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.8986, allocations: 146.8 kB / 1.166 GB, free: 8.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.9004, allocations: 495.4 kB / 1.167 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.9023, allocations: 0.7415 MB / 1.168 GB, free: 7.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.9039, allocations: 1.331 MB / 1.169 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.9049, allocations: 0.5635 MB / 1.17 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.9057, allocations: 446.2 kB / 1.17 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.9063, allocations: 497.7 kB / 1.17 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.9065, allocations: 56 kB / 1.17 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009473/0.9074, allocations: 399.6 kB / 1.171 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.9078, allocations: 243 kB / 1.171 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000571/0.9083, allocations: 0.5244 MB / 1.172 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.9102, allocations: 1.569 MB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9102, allocations: 4 kB / 1.173 GB, free: 1.938 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.82e-07/0.9102, allocations: 0 / 1.173 GB, free: 1.938 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.9103, allocations: 3.938 kB / 1.173 GB, free: 1.934 MB / 0.92 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.002859/0.9131, allocations: 1.464 MB / 1.175 GB, free: 424 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.9132, allocations: 8.031 kB / 1.175 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009566/0.9141, allocations: 187.4 kB / 1.175 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.9153, allocations: 0.7546 MB / 1.175 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.9154, allocations: 66 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.9156, allocations: 83.94 kB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.9174, allocations: 0.9496 MB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.9174, allocations: 0 / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.9175, allocations: 32 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.9176, allocations: 24 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.9196, allocations: 1.132 MB / 1.178 GB, free: 13.1 MB / 0.9356 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.004664/0.9242, allocations: 2.759 MB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.9261, allocations: 0.9085 MB / 1.181 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.9267, allocations: 322.6 kB / 1.182 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.309e-05/0.9268, allocations: 32.67 kB / 1.182 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.9278, allocations: 0.5198 MB / 1.182 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 3.727e-06/0.9279, allocations: 0 / 1.182 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003579/0.9314, allocations: 1.259 MB / 1.183 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.9316, allocations: 192.9 kB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.9326, allocations: 0.6448 MB / 1.184 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.9327, allocations: 41.7 kB / 1.184 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.9331, allocations: 400.5 kB / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.9334, allocations: 280.1 kB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.9336, allocations: 174.4 kB / 1.185 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.9339, allocations: 390.8 kB / 1.185 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/0.9344, allocations: 277.8 kB / 1.186 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.9352, allocations: 380 kB / 1.186 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.9364, allocations: 0.6328 MB / 1.187 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9364, allocations: 4 kB / 1.187 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002188/0.9386, allocations: 0.8878 MB / 1.188 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.9386, allocations: 7.938 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9387, allocations: 4 kB / 1.188 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/0.9393, allocations: 80.86 kB / 1.188 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.9401, allocations: 167.8 kB / 1.188 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.9425, allocations: 1.537 MB / 1.189 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008064/0.9434, allocations: 95.31 kB / 1.189 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/0.9434, allocations: 43.91 kB / 1.189 GB, free: 0.6602 MB / 0.9356 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.000531/0.944, allocations: 280 kB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.9442, allocations: 86.95 kB / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.9469, allocations: 1.136 MB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.9469, allocations: 8 kB / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9469, allocations: 0 / 1.191 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.9469, allocations: 11.91 kB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.9506, allocations: 2.016 MB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.9506, allocations: 4 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.9513, allocations: 159.7 kB / 1.193 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.9518, allocations: 80.78 kB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.9519, allocations: 35.91 kB / 1.193 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.954, allocations: 1.536 MB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.954, allocations: 4.062 kB / 1.195 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.9563, allocations: 1.047 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.9567, allocations: 287.6 kB / 1.196 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.9569, allocations: 19.94 kB / 1.196 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.9576, allocations: 78.27 kB / 1.196 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.9578, allocations: 72.89 kB / 1.196 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.9579, allocations: 39.97 kB / 1.196 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006477/0.9586, allocations: 463 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9586, allocations: 0 / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009418/0.9595, allocations: 339.2 kB / 1.197 GB, free: 8.73 MB / 0.9512 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.001946/0.9615, allocations: 0.6071 MB / 1.198 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.9635, allocations: 0.8744 MB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9635, allocations: 0 / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.9646, allocations: 0.5354 MB / 1.199 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.966, allocations: 278.5 kB / 1.199 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.9696, allocations: 2.134 MB / 1.201 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.9703, allocations: 1.032 MB / 1.202 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009346/0.9712, allocations: 270.9 kB / 1.202 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.9716, allocations: 111.4 kB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/0.9716, allocations: 0 / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of Templates: time 0.0293/1.001, allocations: 14.94 MB / 1.217 GB, free: 4.227 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches