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.001083/0.001083, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001096/0.001097, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 4.227 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.451/2.451, allocations: 390.3 MB / 0.6655 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.814 GB, free: 13.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6332/0.6344, allocations: 140.4 MB / 0.9511 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005257/0.6397, allocations: 4.384 MB / 0.9554 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.8085, allocations: 150.6 MB / 1.102 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009438/0.8095, allocations: 19.88 kB / 1.102 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.81, allocations: 178.3 kB / 1.103 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.8118, allocations: 0.4961 MB / 1.103 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.8139, allocations: 0.8479 MB / 1.104 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001522/0.8154, allocations: 1.312 MB / 1.105 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009697/0.8164, allocations: 0.7101 MB / 1.106 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.8171, allocations: 0.4944 MB / 1.106 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.8177, allocations: 0.5211 MB / 1.107 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.8179, allocations: 124 kB / 1.107 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.8191, allocations: 0.4918 MB / 1.108 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.8194, allocations: 315 kB / 1.108 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.82, allocations: 0.579 MB / 1.108 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.822, allocations: 1.699 MB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.822, allocations: 0 / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/0.822, allocations: 0 / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.8221, allocations: 0 / 1.11 GB, free: 14.39 MB / 0.8731 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.002731/0.8248, allocations: 1.473 MB / 1.111 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.8249, allocations: 8.031 kB / 1.111 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.8259, allocations: 211.3 kB / 1.112 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.8273, allocations: 0.7811 MB / 1.112 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.8274, allocations: 70 kB / 1.113 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.8275, allocations: 91.98 kB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.8293, allocations: 1.011 MB / 1.114 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.8294, allocations: 4 kB / 1.114 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.8295, allocations: 40 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.8295, allocations: 24 kB / 1.114 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.8313, allocations: 1.175 MB / 1.115 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.8354, allocations: 2.573 MB / 1.117 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.8377, allocations: 0.9654 MB / 1.118 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.8383, allocations: 310.7 kB / 1.119 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.921e-05/0.8384, allocations: 32.61 kB / 1.119 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/0.8394, allocations: 0.499 MB / 1.119 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.8394, allocations: 0 / 1.119 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003188/0.8426, allocations: 1.221 MB / 1.12 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.8427, allocations: 196.5 kB / 1.12 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/0.8436, allocations: 0.6372 MB / 1.121 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.8436, allocations: 45.69 kB / 1.121 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.844, allocations: 424.2 kB / 1.122 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.8443, allocations: 272.1 kB / 1.122 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.8445, allocations: 170.4 kB / 1.122 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8447, allocations: 386.7 kB / 1.122 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.8453, allocations: 273.8 kB / 1.123 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/0.8459, allocations: 371.1 kB / 1.123 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.8471, allocations: 0.6229 MB / 1.124 GB, free: 184 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8471, allocations: 0 / 1.124 GB, free: 184 kB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002038/0.8491, allocations: 0.8721 MB / 1.124 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8492, allocations: 4 kB / 1.124 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.8492, allocations: 0 / 1.124 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.8498, allocations: 84.81 kB / 1.124 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.8505, allocations: 171.8 kB / 1.125 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.8527, allocations: 1.63 MB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.8535, allocations: 95.33 kB / 1.126 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.8536, allocations: 39.97 kB / 1.126 GB, free: 13.13 MB / 0.8887 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 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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.0004525/0.8541, allocations: 267.4 kB / 1.127 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.8542, allocations: 82.97 kB / 1.127 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.8566, allocations: 1.101 MB / 1.128 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8566, allocations: 12 kB / 1.128 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.8566, allocations: 0 / 1.128 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.8566, allocations: 3.984 kB / 1.128 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.8599, allocations: 2.014 MB / 1.13 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8599, allocations: 0 / 1.13 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.8605, allocations: 155.7 kB / 1.13 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.861, allocations: 68.8 kB / 1.13 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.138e-05/0.861, allocations: 31.97 kB / 1.13 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.8628, allocations: 1.658 MB / 1.132 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8628, allocations: 4 kB / 1.132 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.8648, allocations: 1.021 MB / 1.133 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.8652, allocations: 279.7 kB / 1.133 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8653, allocations: 19.94 kB / 1.133 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.866, allocations: 65.5 kB / 1.133 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.8661, allocations: 72.89 kB / 1.133 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/0.8662, allocations: 35.97 kB / 1.133 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005461/0.8668, allocations: 475 kB / 1.134 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8668, allocations: 0 / 1.134 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008379/0.8676, allocations: 323.1 kB / 1.134 GB, free: 5.215 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: 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 (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.001336/0.869, allocations: 0.6168 MB / 1.134 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.8707, allocations: 0.8469 MB / 1.135 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8707, allocations: 0 / 1.135 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009477/0.8717, allocations: 0.5316 MB / 1.136 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.8728, allocations: 294.7 kB / 1.136 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.8765, allocations: 1.82 MB / 1.138 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.8771, allocations: 1.043 MB / 1.139 GB, free: 188 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007885/0.8779, allocations: 266.7 kB / 1.139 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.8782, allocations: 111.4 kB / 1.139 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/0.8782, allocations: 0 / 1.139 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.02628/0.9045, allocations: 15.13 MB / 1.154 GB, free: 0.8477 MB / 0.9044 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 -s gbode -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/jenkins1/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