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.001396/0.001396, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001491/0.001491, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 66.31 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2493, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00687/0.2562, allocations: 4.446 MB / 0.9555 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6235/0.8797, allocations: 150.6 MB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007617/0.8805, allocations: 16.88 kB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.881, allocations: 179.5 kB / 1.103 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.8827, allocations: 0.514 MB / 1.103 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.8849, allocations: 0.8487 MB / 1.104 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.8866, allocations: 1.351 MB / 1.105 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.8874, allocations: 0.6243 MB / 1.106 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.8882, allocations: 0.4902 MB / 1.106 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.8891, allocations: 0.5077 MB / 1.107 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.8893, allocations: 118.4 kB / 1.107 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.8904, allocations: 486.9 kB / 1.108 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.8907, allocations: 304.5 kB / 1.108 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.8913, allocations: 0.5602 MB / 1.108 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.8933, allocations: 1.632 MB / 1.11 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8934, allocations: 0 / 1.11 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8934, allocations: 0.5 kB / 1.11 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.109e-05/0.8934, allocations: 4 kB / 1.11 GB, free: 4.547 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.002975/0.8964, allocations: 1.454 MB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.8964, allocations: 10.59 kB / 1.111 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009403/0.8974, allocations: 194.8 kB / 1.112 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.8986, allocations: 0.7709 MB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.8987, allocations: 65.17 kB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.8988, allocations: 82.53 kB / 1.112 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.9004, allocations: 0.9502 MB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.9004, allocations: 1.219 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.9005, allocations: 37.7 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.9006, allocations: 21.64 kB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.9024, allocations: 1.126 MB / 1.115 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.9065, allocations: 2.524 MB / 1.117 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.908, allocations: 0.9119 MB / 1.118 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.9085, allocations: 315.7 kB / 1.118 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.9086, allocations: 33.12 kB / 1.118 GB, free: 18.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008461/0.9095, allocations: 0.5226 MB / 1.119 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 2.454e-06/0.9095, allocations: 1.094 kB / 1.119 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.003187/0.9127, allocations: 1.253 MB / 1.12 GB, free: 17.91 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.9128, allocations: 190.9 kB / 1.12 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/0.9135, allocations: 0.6336 MB / 1.121 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.9136, allocations: 47.22 kB / 1.121 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.9139, allocations: 403.8 kB / 1.121 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.914, allocations: 275.4 kB / 1.121 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.9143, allocations: 170.9 kB / 1.122 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9144, allocations: 397.1 kB / 1.122 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.915, allocations: 275.8 kB / 1.122 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.9156, allocations: 379.7 kB / 1.123 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.9167, allocations: 0.634 MB / 1.123 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9167, allocations: 0 / 1.123 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001954/0.9187, allocations: 0.8824 MB / 1.124 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9187, allocations: 5.5 kB / 1.124 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9188, allocations: 1.25 kB / 1.124 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.9194, allocations: 95.69 kB / 1.124 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.9201, allocations: 175.7 kB / 1.124 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.922, allocations: 1.624 MB / 1.126 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.9228, allocations: 102 kB / 1.126 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.9229, allocations: 40.72 kB / 1.126 GB, free: 15.14 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.0004359/0.9233, allocations: 276.1 kB / 1.126 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.9235, allocations: 83.72 kB / 1.126 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.9259, allocations: 1.136 MB / 1.128 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.9259, allocations: 12.91 kB / 1.128 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9259, allocations: 0 / 1.128 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.926, allocations: 6.734 kB / 1.128 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.9292, allocations: 2.029 MB / 1.13 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9292, allocations: 0 / 1.13 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.9298, allocations: 157 kB / 1.13 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.9302, allocations: 81.64 kB / 1.13 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.9303, allocations: 27.27 kB / 1.13 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.932, allocations: 1.653 MB / 1.131 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9321, allocations: 1.531 kB / 1.131 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.9341, allocations: 1.051 MB / 1.132 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.9346, allocations: 280.1 kB / 1.133 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.9348, allocations: 22.27 kB / 1.133 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.9355, allocations: 67.61 kB / 1.133 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.9357, allocations: 77.08 kB / 1.133 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.9358, allocations: 38.42 kB / 1.133 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006451/0.9364, allocations: 463.8 kB / 1.133 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9364, allocations: 1.312 kB / 1.133 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001058/0.9375, allocations: 321.1 kB / 1.134 GB, free: 12.52 MB / 0.8731 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.001303/0.9388, allocations: 0.613 MB / 1.134 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.9405, allocations: 0.8624 MB / 1.135 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9405, allocations: 5.625 kB / 1.135 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.9414, allocations: 0.5523 MB / 1.136 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.9425, allocations: 297.6 kB / 1.136 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.9461, allocations: 1.789 MB / 1.138 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.9467, allocations: 1.038 MB / 1.139 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008026/0.9475, allocations: 276.4 kB / 1.139 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.9478, allocations: 115.1 kB / 1.139 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/0.9478, allocations: 0 / 1.139 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.02493/0.9727, allocations: 15.23 MB / 1.154 GB, free: 5.969 MB / 0.8731 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 -s gbode -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