Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008723/0.0008723, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8944/0.8944, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.755e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004434/0.004451, allocations: 4.656 MB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.6141/0.6185, allocations: 132.8 MB / 1.116 GB, free: 20.35 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007589/0.6193, allocations: 23.66 kB / 1.116 GB, free: 20.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.6198, allocations: 209 kB / 1.117 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.6211, allocations: 0.6018 MB / 1.117 GB, free: 19.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.6225, allocations: 0.8831 MB / 1.118 GB, free: 19.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.6235, allocations: 1.528 MB / 1.12 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.6241, allocations: 451.4 kB / 1.12 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.6248, allocations: 0.8061 MB / 1.121 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.6252, allocations: 439.9 kB / 1.121 GB, free: 17.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.6254, allocations: 134.7 kB / 1.121 GB, free: 17.77 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.626, allocations: 0.5062 MB / 1.122 GB, free: 17.65 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.6263, allocations: 340 kB / 1.122 GB, free: 17.43 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.6266, allocations: 427.6 kB / 1.123 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.6282, allocations: 1.919 MB / 1.124 GB, free: 16.42 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6282, allocations: 9 kB / 1.124 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6282, allocations: 0 / 1.124 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6282, allocations: 0 / 1.124 GB, free: 16.41 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001665/0.6299, allocations: 1.496 MB / 1.126 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6299, allocations: 9.156 kB / 1.126 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.6309, allocations: 278.7 kB / 1.126 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/0.6318, allocations: 0.7407 MB / 1.127 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.6318, allocations: 76.62 kB / 1.127 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.6319, allocations: 102.5 kB / 1.127 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.6332, allocations: 1.281 MB / 1.128 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6332, allocations: 0 / 1.128 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.6333, allocations: 47.97 kB / 1.128 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.6333, allocations: 23.97 kB / 1.128 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.6346, allocations: 1.142 MB / 1.129 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.6373, allocations: 2.286 MB / 1.132 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6387, allocations: 0.9072 MB / 1.133 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.6391, allocations: 310.4 kB / 1.133 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.017e-05/0.6392, allocations: 26.45 kB / 1.133 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.6398, allocations: 0.6272 MB / 1.134 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 1.944e-06/0.6399, allocations: 0 / 1.134 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.001996/0.6418, allocations: 1.203 MB / 1.135 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.6419, allocations: 204.3 kB / 1.135 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.6425, allocations: 0.6056 MB / 1.136 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.6425, allocations: 54.31 kB / 1.136 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.6427, allocations: 434.6 kB / 1.136 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.6429, allocations: 296.2 kB / 1.136 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.6431, allocations: 187.3 kB / 1.136 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.6431, allocations: 384.8 kB / 1.137 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.6436, allocations: 305 kB / 1.137 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.6441, allocations: 0.5246 MB / 1.138 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.6449, allocations: 0.6638 MB / 1.138 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6449, allocations: 4.969 kB / 1.138 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00135/0.6463, allocations: 0.9437 MB / 1.139 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6463, allocations: 7.344 kB / 1.139 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6463, allocations: 1.125 kB / 1.139 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000319/0.6466, allocations: 87.78 kB / 1.139 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.647, allocations: 176.8 kB / 1.139 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.6481, allocations: 1.5 MB / 1.141 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.6485, allocations: 94.77 kB / 1.141 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.6486, allocations: 45.23 kB / 1.141 GB, free: 7.109 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (109): * Single equations (assignments): 108 * 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.0002739/0.6488, allocations: 278.9 kB / 1.141 GB, free: 6.906 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.6489, allocations: 88.45 kB / 1.141 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.6505, allocations: 1.125 MB / 1.142 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6505, allocations: 11.25 kB / 1.142 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.6505, allocations: 0 / 1.142 GB, free: 6.422 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6505, allocations: 10.2 kB / 1.143 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.6529, allocations: 1.974 MB / 1.144 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6529, allocations: 0.875 kB / 1.144 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.6533, allocations: 154.3 kB / 1.145 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/0.6535, allocations: 78.09 kB / 1.145 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.6535, allocations: 26.47 kB / 1.145 GB, free: 5.418 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009323/0.6545, allocations: 1.526 MB / 1.146 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6545, allocations: 0 / 1.146 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.6558, allocations: 1.062 MB / 1.147 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.656, allocations: 195.6 kB / 1.147 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.6561, allocations: 25.84 kB / 1.147 GB, free: 3.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.6564, allocations: 77.66 kB / 1.147 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.6566, allocations: 78.97 kB / 1.148 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.6566, allocations: 38.83 kB / 1.148 GB, free: 3.383 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003705/0.657, allocations: 436.6 kB / 1.148 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.657, allocations: 0 / 1.148 GB, free: 3.188 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007854/0.6578, allocations: 363.6 kB / 1.148 GB, free: 3.082 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001086/0.6589, allocations: 0.6603 MB / 1.149 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.6601, allocations: 0.8687 MB / 1.15 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6601, allocations: 1.25 kB / 1.15 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.6607, allocations: 0.5183 MB / 1.15 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/0.6615, allocations: 297.2 kB / 1.151 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.6636, allocations: 1.819 MB / 1.152 GB, free: 1.172 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.664, allocations: 469.9 kB / 1.153 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.6642, allocations: 128.6 kB / 1.153 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.6642, allocations: 0 / 1.153 GB, free: 1.004 MB / 0.9948 GB Notification: Performance of Templates: time 0.01949/0.6837, allocations: 20.17 MB / 1.173 GB, free: 11.93 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.19989802595228]