Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001803/0.001803, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002284/0.002284, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.792/2.792, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.777e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008108/0.008145, allocations: 5.361 MB / 0.9866 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.1803, allocations: 133 MB / 1.116 GB, free: 1.172 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009453/0.1812, allocations: 35.75 kB / 1.117 GB, free: 1.137 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.1819, allocations: 237.6 kB / 1.117 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.184, allocations: 0.6829 MB / 1.117 GB, free: 224 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.1862, allocations: 0.8991 MB / 1.118 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.1883, allocations: 1.747 MB / 1.12 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009776/0.1893, allocations: 0.5854 MB / 1.121 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.1907, allocations: 0.9667 MB / 1.121 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.1914, allocations: 0.5101 MB / 1.122 GB, free: 11.47 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.1916, allocations: 164 kB / 1.122 GB, free: 11.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1927, allocations: 0.5306 MB / 1.123 GB, free: 10.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.1932, allocations: 394.6 kB / 1.123 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.1938, allocations: 0.5065 MB / 1.124 GB, free: 9.883 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.1967, allocations: 2.22 MB / 1.126 GB, free: 7.656 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1967, allocations: 0 / 1.126 GB, free: 7.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1967, allocations: 0 / 1.126 GB, free: 7.656 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.1968, allocations: 4 kB / 1.126 GB, free: 7.652 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.003328/0.2001, allocations: 1.725 MB / 1.127 GB, free: 5.887 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2001, allocations: 8.031 kB / 1.127 GB, free: 5.879 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.2018, allocations: 279.8 kB / 1.128 GB, free: 5.605 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.2033, allocations: 0.8195 MB / 1.128 GB, free: 4.758 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.2034, allocations: 98.56 kB / 1.129 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.2036, allocations: 120 kB / 1.129 GB, free: 4.543 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.2061, allocations: 1.477 MB / 1.13 GB, free: 2.941 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2061, allocations: 8 kB / 1.13 GB, free: 2.934 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.2062, allocations: 52 kB / 1.13 GB, free: 2.883 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.2062, allocations: 28 kB / 1.13 GB, free: 2.855 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.2085, allocations: 1.242 MB / 1.131 GB, free: 1.605 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5312/0.7397, allocations: 2.75 MB / 1.134 GB, free: 193.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7411, allocations: 0.851 MB / 1.135 GB, free: 193.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.7416, allocations: 318.8 kB / 1.135 GB, free: 193.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.7417, allocations: 28.78 kB / 1.135 GB, free: 193.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008114/0.7425, allocations: 0.64 MB / 1.136 GB, free: 192.9 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 2.886e-06/0.7425, allocations: 0 / 1.136 GB, free: 192.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.00306/0.7455, allocations: 1.249 MB / 1.137 GB, free: 192.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.7456, allocations: 199.7 kB / 1.137 GB, free: 192.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006952/0.7463, allocations: 0.679 MB / 1.138 GB, free: 192 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.7464, allocations: 49.95 kB / 1.138 GB, free: 191.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.7467, allocations: 0.5354 MB / 1.139 GB, free: 191.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.7468, allocations: 313.5 kB / 1.139 GB, free: 191.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.7471, allocations: 191.4 kB / 1.139 GB, free: 191.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.7472, allocations: 397.4 kB / 1.139 GB, free: 191 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.7477, allocations: 313.6 kB / 1.14 GB, free: 190.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.7483, allocations: 0.5454 MB / 1.14 GB, free: 190.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.7495, allocations: 0.6982 MB / 1.141 GB, free: 190.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7495, allocations: 2.531 kB / 1.141 GB, free: 190.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002044/0.7515, allocations: 1 MB / 1.142 GB, free: 189.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.7515, allocations: 8.344 kB / 1.142 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7515, allocations: 0 / 1.142 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.7521, allocations: 84.84 kB / 1.142 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.7529, allocations: 190.6 kB / 1.142 GB, free: 189.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.7546, allocations: 1.492 MB / 1.144 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.7554, allocations: 107.6 kB / 1.144 GB, free: 188.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.7555, allocations: 40.31 kB / 1.144 GB, free: 188.4 MB / 1.076 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 (117): * Single equations (assignments): 116 * 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.0004904/0.756, allocations: 307.4 kB / 1.144 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7562, allocations: 98.36 kB / 1.144 GB, free: 188.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.7584, allocations: 1.151 MB / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.7584, allocations: 10.72 kB / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.7584, allocations: 0 / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7584, allocations: 6.375 kB / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.7616, allocations: 2.067 MB / 1.147 GB, free: 186.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.7616, allocations: 6.781 kB / 1.147 GB, free: 186.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.7622, allocations: 160.1 kB / 1.147 GB, free: 186.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.7626, allocations: 69.73 kB / 1.148 GB, free: 186.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.7627, allocations: 31.47 kB / 1.148 GB, free: 186.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.7642, allocations: 1.53 MB / 1.149 GB, free: 185.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7642, allocations: 6.938 kB / 1.149 GB, free: 185.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.7661, allocations: 1.086 MB / 1.15 GB, free: 184.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.7665, allocations: 214.8 kB / 1.15 GB, free: 184.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.7666, allocations: 21.94 kB / 1.15 GB, free: 184.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.7673, allocations: 66.39 kB / 1.15 GB, free: 184.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7675, allocations: 83.16 kB / 1.15 GB, free: 184.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.7675, allocations: 40.7 kB / 1.151 GB, free: 184.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005208/0.768, allocations: 480.7 kB / 1.151 GB, free: 184.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.768, allocations: 2.75 kB / 1.151 GB, free: 184.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009663/0.769, allocations: 415.1 kB / 1.151 GB, free: 184.4 MB / 1.076 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 (106): * Single equations (assignments): 95 * 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.002018/0.771, allocations: 0.6733 MB / 1.152 GB, free: 184.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.7727, allocations: 0.9019 MB / 1.153 GB, free: 183.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7727, allocations: 0 / 1.153 GB, free: 183.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.7736, allocations: 0.5287 MB / 1.153 GB, free: 183.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.775, allocations: 301.9 kB / 1.154 GB, free: 183.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.7781, allocations: 2.04 MB / 1.156 GB, free: 182.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.7785, allocations: 0.5262 MB / 1.156 GB, free: 182.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00078/0.7793, allocations: 278.5 kB / 1.156 GB, free: 182.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.7796, allocations: 122.7 kB / 1.157 GB, free: 182.2 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/0.7796, allocations: 0 / 1.157 GB, free: 182.2 MB / 1.076 GB Notification: Performance of Templates: time 0.02987/0.8094, allocations: 16.37 MB / 1.173 GB, free: 180.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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: 9.261121354997158]