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.001486/0.001486, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001845/0.001845, allocations: 194 kB / 16.25 MB, free: 6.633 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.632/2.632, allocations: 437 MB / 0.71 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.6271, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006313/0.6335, allocations: 4.947 MB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.159/0.7925, allocations: 148.4 MB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.7935, allocations: 15.94 kB / 1.167 GB, free: 8.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.7943, allocations: 146.8 kB / 1.167 GB, free: 8.703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.7967, allocations: 0.4933 MB / 1.167 GB, free: 8.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.7989, allocations: 0.7659 MB / 1.168 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001882/0.8008, allocations: 1.429 MB / 1.169 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009909/0.8018, allocations: 0.5872 MB / 1.17 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000769/0.8026, allocations: 0.4982 MB / 1.17 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.8033, allocations: 0.5212 MB / 1.171 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.8036, allocations: 116 kB / 1.171 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.8045, allocations: 463.6 kB / 1.171 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.8049, allocations: 311 kB / 1.172 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000753/0.8057, allocations: 0.5713 MB / 1.172 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.8078, allocations: 1.628 MB / 1.174 GB, free: 1.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8079, allocations: 3.938 kB / 1.174 GB, free: 1.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8079, allocations: 0 / 1.174 GB, free: 1.309 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.8079, allocations: 4 kB / 1.174 GB, free: 1.305 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.002646/0.8105, allocations: 1.452 MB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.8106, allocations: 12.03 kB / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.8115, allocations: 187.3 kB / 1.176 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8126, allocations: 0.7545 MB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.717e-05/0.8127, allocations: 69.98 kB / 1.176 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.8128, allocations: 84 kB / 1.176 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.8144, allocations: 0.9534 MB / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8144, allocations: 0 / 1.177 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.8145, allocations: 36 kB / 1.177 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.8145, allocations: 20 kB / 1.177 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.8164, allocations: 1.136 MB / 1.179 GB, free: 12.47 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.004024/0.8204, allocations: 2.755 MB / 1.181 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.822, allocations: 0.9124 MB / 1.182 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.8226, allocations: 314.7 kB / 1.182 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.031e-05/0.8227, allocations: 36.62 kB / 1.182 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009484/0.8237, allocations: 0.512 MB / 1.183 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 2.225e-06/0.8237, allocations: 0 / 1.183 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003468/0.8272, allocations: 1.259 MB / 1.184 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.8273, allocations: 188.9 kB / 1.184 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008441/0.8281, allocations: 0.6526 MB / 1.185 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.8282, allocations: 45.64 kB / 1.185 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.8285, allocations: 404.4 kB / 1.185 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.8288, allocations: 272.1 kB / 1.186 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.829, allocations: 178.4 kB / 1.186 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.8292, allocations: 382.8 kB / 1.186 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005619/0.8298, allocations: 277.8 kB / 1.186 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.8305, allocations: 388 kB / 1.187 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.8318, allocations: 0.6329 MB / 1.187 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8318, allocations: 3.938 kB / 1.187 GB, free: 3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0021/0.8339, allocations: 0.88 MB / 1.188 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.8339, allocations: 15.92 kB / 1.188 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.8339, allocations: 0 / 1.188 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.8346, allocations: 80.91 kB / 1.188 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.8353, allocations: 175.7 kB / 1.189 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.8374, allocations: 1.643 MB / 1.19 GB, free: 52 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.8383, allocations: 103.8 kB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-05/0.8384, allocations: 39.97 kB / 1.19 GB, free: 15.91 MB / 0.9512 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.0004515/0.8388, allocations: 268.3 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.839, allocations: 86.97 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/0.8417, allocations: 1.152 MB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.8417, allocations: 8 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.8417, allocations: 4 kB / 1.192 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8417, allocations: 3.984 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.8452, allocations: 2.02 MB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8452, allocations: 0 / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.8459, allocations: 159.7 kB / 1.194 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/0.8464, allocations: 72.78 kB / 1.194 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.8465, allocations: 27.97 kB / 1.194 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.8484, allocations: 1.658 MB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8484, allocations: 0 / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.8505, allocations: 1.055 MB / 1.197 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.851, allocations: 283.7 kB / 1.197 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.8511, allocations: 20 kB / 1.197 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.8518, allocations: 63.92 kB / 1.197 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.852, allocations: 80.89 kB / 1.197 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.8521, allocations: 43.91 kB / 1.197 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005457/0.8526, allocations: 463 kB / 1.198 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8526, allocations: 0 / 1.198 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008658/0.8535, allocations: 339.2 kB / 1.198 GB, free: 7.875 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.001313/0.8548, allocations: 0.6061 MB / 1.198 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.8573, allocations: 1.093 MB / 1.2 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8573, allocations: 3.984 kB / 1.2 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009351/0.8583, allocations: 0.5431 MB / 1.2 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8595, allocations: 301 kB / 1.2 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.8626, allocations: 2.146 MB / 1.202 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.8632, allocations: 1.032 MB / 1.203 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008408/0.8641, allocations: 266.9 kB / 1.204 GB, free: 2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.8644, allocations: 119.4 kB / 1.204 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.8644, allocations: 0 / 1.204 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of Templates: time 0.02431/0.8887, allocations: 15.48 MB / 1.219 GB, free: 2.586 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=480 -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