Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001658/0.001658, allocations: 103.2 kB / 16.27 MB, free: 6.418 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.001807/0.001807, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 64.83 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8241/0.8261, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007109/0.8332, allocations: 4.943 MB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1949/1.028, allocations: 150.6 MB / 1.235 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/1.029, allocations: 23.81 kB / 1.235 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007633/1.03, allocations: 190.2 kB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00227/1.033, allocations: 0.5586 MB / 1.236 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/1.035, allocations: 0.8469 MB / 1.236 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001984/1.037, allocations: 1.429 MB / 1.238 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/1.038, allocations: 0.5756 MB / 1.238 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.039, allocations: 0.5021 MB / 1.239 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/1.04, allocations: 0.5251 MB / 1.239 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/1.04, allocations: 116 kB / 1.239 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/1.041, allocations: 463.6 kB / 1.24 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003866/1.042, allocations: 311 kB / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/1.042, allocations: 0.5713 MB / 1.241 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/1.045, allocations: 1.624 MB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.045, allocations: 0 / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.904e-06/1.045, allocations: 3.938 kB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.092e-05/1.045, allocations: 0 / 1.242 GB, free: 11.14 MB / 0.9669 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.00281/1.048, allocations: 1.468 MB / 1.244 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.048, allocations: 12.03 kB / 1.244 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009427/1.049, allocations: 183.4 kB / 1.244 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.05, allocations: 0.7546 MB / 1.245 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/1.05, allocations: 69.94 kB / 1.245 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/1.05, allocations: 87.98 kB / 1.245 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/1.052, allocations: 0.9418 MB / 1.246 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.052, allocations: 0 / 1.246 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/1.052, allocations: 36 kB / 1.246 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.052, allocations: 24 kB / 1.246 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/1.054, allocations: 1.124 MB / 1.247 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/1.058, allocations: 2.821 MB / 1.25 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.06, allocations: 0.9007 MB / 1.251 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/1.061, allocations: 325.6 kB / 1.251 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.511e-05/1.061, allocations: 32.69 kB / 1.251 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009858/1.062, allocations: 0.5158 MB / 1.251 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.305e-06/1.062, allocations: 0 / 1.251 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.003505/1.065, allocations: 1.259 MB / 1.253 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/1.065, allocations: 192.9 kB / 1.253 GB, free: 20 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/1.066, allocations: 0.641 MB / 1.253 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.732e-05/1.067, allocations: 41.7 kB / 1.254 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/1.067, allocations: 400.4 kB / 1.254 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.067, allocations: 276.1 kB / 1.254 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/1.068, allocations: 170.5 kB / 1.254 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002042/1.068, allocations: 394.8 kB / 1.255 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/1.068, allocations: 277.8 kB / 1.255 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/1.069, allocations: 376 kB / 1.255 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.07, allocations: 0.6406 MB / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.07, allocations: 0 / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002174/1.072, allocations: 0.8878 MB / 1.257 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.072, allocations: 10.28 kB / 1.257 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.073, allocations: 8.125 kB / 1.257 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/1.073, allocations: 80.77 kB / 1.257 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/1.074, allocations: 175.7 kB / 1.257 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.076, allocations: 1.635 MB / 1.259 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/1.077, allocations: 103.2 kB / 1.259 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/1.077, allocations: 35.97 kB / 1.259 GB, free: 9.695 MB / 0.9825 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.000514/1.078, allocations: 276 kB / 1.259 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.078, allocations: 86.95 kB / 1.259 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/1.081, allocations: 1.144 MB / 1.26 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.081, allocations: 8 kB / 1.26 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.081, allocations: 0 / 1.26 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.081, allocations: 7.984 kB / 1.26 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/1.084, allocations: 2.02 MB / 1.262 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.084, allocations: 0 / 1.262 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006342/1.085, allocations: 159.7 kB / 1.262 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.086, allocations: 72.77 kB / 1.262 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.036e-05/1.086, allocations: 27.98 kB / 1.263 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/1.088, allocations: 1.658 MB / 1.264 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.088, allocations: 0 / 1.264 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/1.09, allocations: 1.051 MB / 1.265 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.091, allocations: 283.7 kB / 1.265 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/1.091, allocations: 16 kB / 1.265 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/1.091, allocations: 71.98 kB / 1.266 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.092, allocations: 76.89 kB / 1.266 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/1.092, allocations: 39.97 kB / 1.266 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006798/1.092, allocations: 467 kB / 1.266 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/1.092, allocations: 0 / 1.266 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001003/1.093, allocations: 335.2 kB / 1.266 GB, free: 1.664 MB / 0.9825 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.00201/1.095, allocations: 0.6231 MB / 1.267 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002758/1.098, allocations: 1.085 MB / 1.268 GB, free: 120 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.098, allocations: 4 kB / 1.268 GB, free: 116 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.099, allocations: 0.5434 MB / 1.269 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.101, allocations: 312.9 kB / 1.269 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/1.104, allocations: 1.757 MB / 1.271 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/1.105, allocations: 1.035 MB / 1.272 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/1.106, allocations: 123.4 kB / 1.272 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.106, allocations: 0 / 1.272 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02972/1.135, allocations: 18.96 MB / 1.29 GB, free: 9.391 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches