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.001541/0.001541, allocations: 103.3 kB / 15.98 MB, free: 5.891 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.001759/0.001759, allocations: 191.9 kB / 16.91 MB, free: 5.746 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.459/2.459, allocations: 390.2 MB / 0.665 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6528, allocations: 140.3 MB / 0.9498 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004937/0.6578, allocations: 4.45 MB / 0.9541 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1548/0.8126, allocations: 148.4 MB / 1.099 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.814, allocations: 19.88 kB / 1.099 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008502/0.8148, allocations: 134.9 kB / 1.099 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.8171, allocations: 476.2 kB / 1.1 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.8193, allocations: 0.7551 MB / 1.1 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.8212, allocations: 1.351 MB / 1.102 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.8223, allocations: 0.6198 MB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.8231, allocations: 0.4904 MB / 1.103 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.8239, allocations: 0.5134 MB / 1.103 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.8241, allocations: 116 kB / 1.103 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.8252, allocations: 459.6 kB / 1.104 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.8255, allocations: 303.1 kB / 1.104 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007113/0.8263, allocations: 0.5596 MB / 1.105 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.828, allocations: 1.224 MB / 1.106 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.828, allocations: 0 / 1.106 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8281, allocations: 0 / 1.106 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.436e-05/0.8281, allocations: 0 / 1.106 GB, free: 1.668 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.003257/0.8314, allocations: 1.46 MB / 1.107 GB, free: 160 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8314, allocations: 11.97 kB / 1.107 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.8325, allocations: 191.4 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.8337, allocations: 0.7546 MB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.8338, allocations: 66 kB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.8339, allocations: 80 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.8356, allocations: 0.9418 MB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.8357, allocations: 3.938 kB / 1.109 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.8358, allocations: 43.98 kB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.8358, allocations: 20 kB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.8376, allocations: 1.128 MB / 1.11 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.8418, allocations: 2.554 MB / 1.113 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.8434, allocations: 0.9072 MB / 1.114 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.8439, allocations: 314.7 kB / 1.114 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.844, allocations: 32.69 kB / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009904/0.845, allocations: 0.5158 MB / 1.115 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.905e-06/0.845, allocations: 4 kB / 1.115 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003291/0.8483, allocations: 1.251 MB / 1.116 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.8484, allocations: 200.8 kB / 1.116 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.8493, allocations: 0.641 MB / 1.117 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.8494, allocations: 41.7 kB / 1.117 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.8497, allocations: 404.4 kB / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.85, allocations: 280 kB / 1.117 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.8503, allocations: 174.5 kB / 1.118 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8504, allocations: 382.8 kB / 1.118 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.851, allocations: 281.8 kB / 1.118 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.8516, allocations: 384 kB / 1.119 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8527, allocations: 0.6329 MB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8528, allocations: 0 / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002052/0.8548, allocations: 0.88 MB / 1.12 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.8548, allocations: 13.97 kB / 1.12 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8549, allocations: 0 / 1.12 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.8555, allocations: 84.89 kB / 1.12 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.8562, allocations: 171.7 kB / 1.12 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.8583, allocations: 1.623 MB / 1.122 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.8592, allocations: 103.2 kB / 1.122 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.8593, allocations: 35.97 kB / 1.122 GB, free: 0.5664 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.0005048/0.8598, allocations: 283.8 kB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.86, allocations: 90.97 kB / 1.122 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.8626, allocations: 1.14 MB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.8626, allocations: 12 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8626, allocations: 0 / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.8627, allocations: 3.984 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.8661, allocations: 2.025 MB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.8661, allocations: 3.984 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.8667, allocations: 159.8 kB / 1.126 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/0.8672, allocations: 72.78 kB / 1.126 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.8673, allocations: 23.98 kB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.8691, allocations: 1.662 MB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8691, allocations: 3.938 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.8713, allocations: 1.055 MB / 1.128 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.8719, allocations: 275.7 kB / 1.129 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.8721, allocations: 24.06 kB / 1.129 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.8728, allocations: 65.33 kB / 1.129 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.873, allocations: 76.89 kB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.378e-05/0.8731, allocations: 43.98 kB / 1.129 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006288/0.8737, allocations: 463 kB / 1.129 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.8737, allocations: 0 / 1.129 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009741/0.8747, allocations: 323.2 kB / 1.13 GB, free: 8.531 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.001508/0.8762, allocations: 0.6112 MB / 1.13 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002561/0.8788, allocations: 1.093 MB / 1.131 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8788, allocations: 0 / 1.131 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.8798, allocations: 0.5472 MB / 1.132 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.8811, allocations: 292 kB / 1.132 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.8853, allocations: 2.296 MB / 1.134 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.8859, allocations: 1.036 MB / 1.135 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.8862, allocations: 119.4 kB / 1.135 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/0.8862, allocations: 3.938 kB / 1.135 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of Templates: time 0.02484/0.9111, allocations: 18.82 MB / 1.154 GB, free: 15.88 MB / 0.92 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