Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 193.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.217/3.217, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 64.53 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 174.9 MB / 1.316 GB, free: 9.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008338/0.3706, allocations: 6.028 MB / 1.322 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1876/0.5583, allocations: 151.4 MB / 1.47 GB, free: 11.7 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.5596, allocations: 23.81 kB / 1.47 GB, free: 11.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.5608, allocations: 237.7 kB / 1.47 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.5634, allocations: 0.6361 MB / 1.471 GB, free: 10.8 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.566, allocations: 0.8965 MB / 1.472 GB, free: 9.914 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.5683, allocations: 1.658 MB / 1.473 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.5693, allocations: 0.6049 MB / 1.474 GB, free: 7.602 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009145/0.5703, allocations: 0.6229 MB / 1.474 GB, free: 6.977 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008021/0.5711, allocations: 0.6573 MB / 1.475 GB, free: 6.316 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.5713, allocations: 156 kB / 1.475 GB, free: 6.164 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5723, allocations: 0.523 MB / 1.476 GB, free: 5.641 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.5726, allocations: 378.8 kB / 1.476 GB, free: 5.27 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.5733, allocations: 0.7307 MB / 1.477 GB, free: 4.535 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002568/0.5759, allocations: 2.051 MB / 1.479 GB, free: 2.477 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5759, allocations: 0 / 1.479 GB, free: 2.477 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5759, allocations: 0 / 1.479 GB, free: 2.477 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.5759, allocations: 0 / 1.479 GB, free: 2.477 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00302/0.579, allocations: 1.682 MB / 1.48 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.579, allocations: 8.031 kB / 1.48 GB, free: 0.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.5799, allocations: 231.8 kB / 1.481 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.5813, allocations: 0.7964 MB / 1.481 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.84e-05/0.5814, allocations: 94.39 kB / 1.481 GB, free: 15.6 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.5816, allocations: 112 kB / 1.482 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.5837, allocations: 1.202 MB / 1.483 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.5837, allocations: 8 kB / 1.483 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.732e-05/0.5838, allocations: 48 kB / 1.483 GB, free: 14.17 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.5838, allocations: 32 kB / 1.483 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.5859, allocations: 1.281 MB / 1.484 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.5914, allocations: 3.644 MB / 1.488 GB, free: 9.004 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.593, allocations: 0.8102 MB / 1.488 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.5936, allocations: 302.7 kB / 1.489 GB, free: 7.887 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.483e-05/0.5937, allocations: 28.61 kB / 1.489 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009891/0.5947, allocations: 0.5212 MB / 1.489 GB, free: 7.324 MB / 1.186 GB Notification: Performance of pre-optimization done (n=87): time 3.115e-06/0.5947, allocations: 4 kB / 1.489 GB, free: 7.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=87): time 0.004095/0.5988, allocations: 1.215 MB / 1.49 GB, free: 6.094 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.599, allocations: 188.9 kB / 1.491 GB, free: 5.867 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.6, allocations: 0.7353 MB / 1.491 GB, free: 5.121 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.6001, allocations: 41.7 kB / 1.491 GB, free: 5.074 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.6005, allocations: 0.5321 MB / 1.492 GB, free: 4.535 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.6008, allocations: 301.4 kB / 1.492 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.6011, allocations: 170.6 kB / 1.492 GB, free: 4.066 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6012, allocations: 337.9 kB / 1.493 GB, free: 3.73 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005704/0.6018, allocations: 293.8 kB / 1.493 GB, free: 3.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.6025, allocations: 391.2 kB / 1.493 GB, free: 3.047 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.6036, allocations: 0.6633 MB / 1.494 GB, free: 2.371 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.6036, allocations: 0 / 1.494 GB, free: 2.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002091/0.6057, allocations: 0.9272 MB / 1.495 GB, free: 1.434 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6058, allocations: 4 kB / 1.495 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6058, allocations: 3.938 kB / 1.495 GB, free: 1.426 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.6064, allocations: 84.86 kB / 1.495 GB, free: 1.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6071, allocations: 175.7 kB / 1.495 GB, free: 1.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.6095, allocations: 1.53 MB / 1.497 GB, free: 15.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.6103, allocations: 105.2 kB / 1.497 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.6104, allocations: 39.97 kB / 1.497 GB, free: 15.38 MB / 1.201 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 (104): * Single equations (assignments): 103 * 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.0005488/0.6109, allocations: 302 kB / 1.497 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.6111, allocations: 99.39 kB / 1.497 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.6136, allocations: 1.118 MB / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6136, allocations: 15.94 kB / 1.498 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6136, allocations: 7.938 kB / 1.498 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.6136, allocations: 7.969 kB / 1.498 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.6149, allocations: 1.023 MB / 1.499 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6149, allocations: 3.984 kB / 1.499 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.6155, allocations: 151.8 kB / 1.499 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004323/0.616, allocations: 68.8 kB / 1.499 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.616, allocations: 27.97 kB / 1.499 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.6181, allocations: 1.551 MB / 1.501 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6181, allocations: 0 / 1.501 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.6202, allocations: 0.9946 MB / 1.502 GB, free: 9.82 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.6206, allocations: 215 kB / 1.502 GB, free: 9.609 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.6208, allocations: 19.98 kB / 1.502 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/0.6214, allocations: 67.88 kB / 1.502 GB, free: 9.523 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.6216, allocations: 80.78 kB / 1.502 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.6216, allocations: 40.05 kB / 1.502 GB, free: 9.402 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007751/0.6224, allocations: 0.5146 MB / 1.503 GB, free: 8.891 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6224, allocations: 3.938 kB / 1.503 GB, free: 8.887 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001033/0.6235, allocations: 398.8 kB / 1.503 GB, free: 8.496 MB / 1.201 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.002045/0.6255, allocations: 0.605 MB / 1.504 GB, free: 8.062 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.6274, allocations: 0.8507 MB / 1.505 GB, free: 7.203 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6274, allocations: 3.938 kB / 1.505 GB, free: 7.199 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6285, allocations: 0.516 MB / 1.505 GB, free: 6.672 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.6297, allocations: 325 kB / 1.506 GB, free: 6.375 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.6336, allocations: 2.002 MB / 1.507 GB, free: 4.34 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008668/0.6344, allocations: 1.11 MB / 1.509 GB, free: 3.199 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009137/0.6353, allocations: 299.5 kB / 1.509 GB, free: 2.902 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.6356, allocations: 115.3 kB / 1.509 GB, free: 2.789 MB / 1.201 GB Notification: Performance of SimCode: time 6.31e-07/0.6356, allocations: 0 / 1.509 GB, free: 2.789 MB / 1.201 GB Notification: Performance of Templates: time 0.03139/0.667, allocations: 17.17 MB / 1.526 GB, free: 1.805 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.816328252665699]