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.001382/0.001382, allocations: 102.2 kB / 16.27 MB, free: 6 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.001372/0.001373, allocations: 191 kB / 17.2 MB, free: 5.609 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.537/2.537, allocations: 437.1 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.77 kB / 0.8699 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3258, allocations: 151.6 MB / 1.018 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007175/0.333, allocations: 4.96 MB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.688/1.021, allocations: 150.6 MB / 1.17 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/1.022, allocations: 14.94 kB / 1.17 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007179/1.023, allocations: 197.9 kB / 1.17 GB, free: 380 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/1.025, allocations: 0.5548 MB / 1.171 GB, free: 56 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/1.027, allocations: 0.8492 MB / 1.171 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001963/1.029, allocations: 1.418 MB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/1.03, allocations: 0.5909 MB / 1.173 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/1.031, allocations: 0.4964 MB / 1.174 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/1.032, allocations: 0.5193 MB / 1.174 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/1.032, allocations: 119.1 kB / 1.175 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/1.033, allocations: 466.4 kB / 1.175 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/1.033, allocations: 302.2 kB / 1.175 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005967/1.034, allocations: 0.5771 MB / 1.176 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/1.036, allocations: 1.624 MB / 1.177 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.036, allocations: 0 / 1.177 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.573e-06/1.036, allocations: 4.5 kB / 1.177 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.14e-05/1.036, allocations: 0 / 1.177 GB, free: 12.31 MB / 0.8887 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.003002/1.039, allocations: 1.458 MB / 1.179 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.039, allocations: 9.312 kB / 1.179 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/1.04, allocations: 197.2 kB / 1.179 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.042, allocations: 0.7537 MB / 1.18 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/1.042, allocations: 65.75 kB / 1.18 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/1.042, allocations: 83.38 kB / 1.18 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/1.044, allocations: 0.9557 MB / 1.181 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.044, allocations: 3.984 kB / 1.181 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/1.044, allocations: 37.62 kB / 1.181 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.044, allocations: 23.56 kB / 1.181 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/1.046, allocations: 1.137 MB / 1.182 GB, free: 9.199 MB / 0.8887 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.004913/1.051, allocations: 2.743 MB / 1.185 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.052, allocations: 0.912 MB / 1.186 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/1.053, allocations: 320.3 kB / 1.186 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.601e-05/1.053, allocations: 30.98 kB / 1.186 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/1.054, allocations: 0.5218 MB / 1.186 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=85): time 3.567e-06/1.054, allocations: 0 / 1.186 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85): time 0.003659/1.058, allocations: 1.255 MB / 1.188 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/1.058, allocations: 193.8 kB / 1.188 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/1.059, allocations: 0.641 MB / 1.189 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/1.059, allocations: 43.95 kB / 1.189 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/1.059, allocations: 400.9 kB / 1.189 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/1.06, allocations: 279.2 kB / 1.189 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.06, allocations: 175.1 kB / 1.189 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.06, allocations: 388.3 kB / 1.19 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/1.061, allocations: 282.6 kB / 1.19 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/1.061, allocations: 385.1 kB / 1.19 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.063, allocations: 0.634 MB / 1.191 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.063, allocations: 0 / 1.191 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00209/1.065, allocations: 0.8883 MB / 1.192 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.065, allocations: 7.344 kB / 1.192 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.065, allocations: 0 / 1.192 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/1.065, allocations: 89.58 kB / 1.192 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.066, allocations: 172.1 kB / 1.192 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/1.068, allocations: 1.63 MB / 1.194 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009179/1.069, allocations: 98.28 kB / 1.194 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/1.069, allocations: 45.91 kB / 1.194 GB, free: 0.6523 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.0005533/1.07, allocations: 274.6 kB / 1.194 GB, free: 448 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.07, allocations: 85.56 kB / 1.194 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/1.073, allocations: 1.138 MB / 1.195 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.073, allocations: 14.09 kB / 1.195 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.073, allocations: 0.75 kB / 1.195 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.073, allocations: 7.984 kB / 1.195 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/1.077, allocations: 2.02 MB / 1.197 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.077, allocations: 0 / 1.197 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/1.077, allocations: 158.9 kB / 1.197 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/1.078, allocations: 70.42 kB / 1.198 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/1.078, allocations: 27.84 kB / 1.198 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/1.08, allocations: 1.671 MB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.08, allocations: 1.125 kB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/1.082, allocations: 1.046 MB / 1.2 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/1.083, allocations: 282.4 kB / 1.2 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.083, allocations: 21.08 kB / 1.2 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007009/1.084, allocations: 74.02 kB / 1.201 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.084, allocations: 76.14 kB / 1.201 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/1.084, allocations: 37.27 kB / 1.201 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006014/1.084, allocations: 463.5 kB / 1.201 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.084, allocations: 3.938 kB / 1.201 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009941/1.085, allocations: 330.2 kB / 1.201 GB, free: 11.41 MB / 0.9044 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.00199/1.087, allocations: 0.6204 MB / 1.202 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002689/1.09, allocations: 1.081 MB / 1.203 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.09, allocations: 4 kB / 1.203 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/1.091, allocations: 0.5431 MB / 1.204 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.093, allocations: 308.3 kB / 1.204 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/1.096, allocations: 1.769 MB / 1.206 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/1.097, allocations: 1.032 MB / 1.207 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/1.098, allocations: 131.3 kB / 1.207 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.098, allocations: 0 / 1.207 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of Templates: time 0.02903/1.127, allocations: 18.97 MB / 1.225 GB, free: 4.602 MB / 0.92 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/jenkins1/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