Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001199/0.001199, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.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.456/2.456, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003693, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8509, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004612/0.8556, allocations: 3.769 MB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.049, allocations: 136.8 MB / 1.092 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/1.05, allocations: 19.88 kB / 1.092 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/1.051, allocations: 130.9 kB / 1.092 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/1.052, allocations: 420.7 kB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/1.054, allocations: 0.6252 MB / 1.093 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001221/1.055, allocations: 1.141 MB / 1.094 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008308/1.056, allocations: 0.55 MB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/1.056, allocations: 334.4 kB / 1.095 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/1.057, allocations: 370.1 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/1.057, allocations: 24 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008066/1.058, allocations: 343.6 kB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/1.058, allocations: 183.2 kB / 1.096 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/1.058, allocations: 209.1 kB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/1.06, allocations: 1.224 MB / 1.097 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.06, allocations: 0 / 1.097 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.06, allocations: 0 / 1.097 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.459e-05/1.06, allocations: 0 / 1.097 GB, free: 13.03 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002188/1.062, allocations: 1.255 MB / 1.098 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/1.062, allocations: 12.03 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009693/1.063, allocations: 226.4 kB / 1.099 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.064, allocations: 0.7302 MB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/1.064, allocations: 70 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.064, allocations: 88 kB / 1.099 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.066, allocations: 1.011 MB / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.066, allocations: 0 / 1.1 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/1.066, allocations: 47.95 kB / 1.1 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/1.066, allocations: 23.98 kB / 1.1 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.068, allocations: 1.175 MB / 1.102 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/1.072, allocations: 2.646 MB / 1.104 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.074, allocations: 0.9693 MB / 1.105 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/1.075, allocations: 318.6 kB / 1.105 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.11e-05/1.075, allocations: 32.59 kB / 1.105 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009596/1.076, allocations: 0.4991 MB / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/1.076, allocations: 0 / 1.106 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003043/1.079, allocations: 1.23 MB / 1.107 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.079, allocations: 192.6 kB / 1.107 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/1.08, allocations: 0.6332 MB / 1.108 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/1.08, allocations: 41.7 kB / 1.108 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/1.081, allocations: 424.2 kB / 1.108 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/1.081, allocations: 280.1 kB / 1.109 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/1.081, allocations: 16 kB / 1.109 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.081, allocations: 386.8 kB / 1.109 GB, free: 424 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/1.082, allocations: 273.8 kB / 1.109 GB, free: 152 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/1.082, allocations: 375.1 kB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/1.083, allocations: 318.8 kB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.083, allocations: 4 kB / 1.11 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001865/1.085, allocations: 0.8644 MB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.085, allocations: 4 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.085, allocations: 4 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/1.085, allocations: 92.75 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/1.086, allocations: 167.8 kB / 1.111 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/1.088, allocations: 1.516 MB / 1.113 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/1.089, allocations: 103.4 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/1.089, allocations: 39.97 kB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004955/1.089, allocations: 277.3 kB / 1.113 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.09, allocations: 82.97 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/1.092, allocations: 1.112 MB / 1.114 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.092, allocations: 11.98 kB / 1.114 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.092, allocations: 0 / 1.114 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.092, allocations: 3.984 kB / 1.114 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/1.095, allocations: 2.013 MB / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.095, allocations: 0 / 1.116 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/1.096, allocations: 155.8 kB / 1.116 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/1.096, allocations: 80.78 kB / 1.116 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/1.096, allocations: 31.92 kB / 1.116 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.098, allocations: 1.544 MB / 1.118 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.098, allocations: 3.938 kB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/1.1, allocations: 1.012 MB / 1.119 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/1.101, allocations: 295.5 kB / 1.119 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.101, allocations: 27.94 kB / 1.119 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006075/1.101, allocations: 87.3 kB / 1.119 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.102, allocations: 76.83 kB / 1.119 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/1.102, allocations: 39.97 kB / 1.119 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006159/1.102, allocations: 459 kB / 1.12 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.102, allocations: 0 / 1.12 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008989/1.103, allocations: 319.2 kB / 1.12 GB, free: 4.668 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001334/1.104, allocations: 0.5903 MB / 1.121 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.106, allocations: 0.8509 MB / 1.122 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.106, allocations: 7.984 kB / 1.122 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/1.107, allocations: 0.5314 MB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/1.108, allocations: 261.2 kB / 1.122 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/1.112, allocations: 2.295 MB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/1.113, allocations: 1.045 MB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008172/1.114, allocations: 266.8 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/1.114, allocations: 107.4 kB / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of SimCode: time 1.974e-06/1.114, allocations: 0 / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of Templates: time 0.02559/1.139, allocations: 14 MB / 1.14 GB, free: 0.9922 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches