Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001882/0.001882, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002145/0.002145, allocations: 187.7 kB / 22.23 MB, free: 5.137 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.485/1.485, 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-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.195/3.195, allocations: 496 MB / 0.7835 GB, free: 33.48 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-maint.12.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.64 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01145/0.4116, allocations: 8.512 MB / 1.316 GB, free: 9.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2065/0.6181, allocations: 152.4 MB / 1.464 GB, free: 324 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.6199, allocations: 27.81 kB / 1.464 GB, free: 296 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.621, allocations: 320.8 kB / 1.465 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.624, allocations: 0.8762 MB / 1.466 GB, free: 15.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.6274, allocations: 1.404 MB / 1.467 GB, free: 13.69 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004352/0.6318, allocations: 2.994 MB / 1.47 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.6337, allocations: 1.02 MB / 1.471 GB, free: 9.605 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.6358, allocations: 1.227 MB / 1.472 GB, free: 8.375 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.638, allocations: 1.35 MB / 1.473 GB, free: 7.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.6385, allocations: 324 kB / 1.474 GB, free: 6.703 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.6401, allocations: 0.7066 MB / 1.474 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.6408, allocations: 0.6933 MB / 1.475 GB, free: 5.301 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.6424, allocations: 1.338 MB / 1.476 GB, free: 3.957 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005081/0.6475, allocations: 3.682 MB / 1.48 GB, free: 268 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.6475, allocations: 0 / 1.48 GB, free: 268 kB / 1.17 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6475, allocations: 4 kB / 1.48 GB, free: 264 kB / 1.17 GB Notification: Performance of Transformations before backend: time 6.51e-05/0.6476, allocations: 0 / 1.48 GB, free: 264 kB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007012/0.6546, allocations: 2.822 MB / 1.483 GB, free: 13.37 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6547, allocations: 8.031 kB / 1.483 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.6703, allocations: 2.121 MB / 1.485 GB, free: 11.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/0.6738, allocations: 1.234 MB / 1.486 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.6739, allocations: 168.5 kB / 1.486 GB, free: 9.797 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/0.6745, allocations: 220 kB / 1.486 GB, free: 9.582 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009293/0.6837, allocations: 3.278 MB / 1.49 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.6838, allocations: 0 / 1.49 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.6841, allocations: 95.98 kB / 1.49 GB, free: 6.117 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.6841, allocations: 56 kB / 1.49 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.6972, allocations: 4.205 MB / 1.494 GB, free: 1.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.7166, allocations: 8.06 MB / 1.502 GB, free: 9.484 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008802/0.7254, allocations: 2.705 MB / 1.504 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004614/0.73, allocations: 1.352 MB / 1.506 GB, free: 5.418 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/0.7307, allocations: 138 kB / 1.506 GB, free: 5.285 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005309/0.736, allocations: 1.844 MB / 1.508 GB, free: 3.422 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 4.018e-06/0.736, allocations: 8 kB / 1.508 GB, free: 3.414 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01506/0.751, allocations: 4.395 MB / 1.512 GB, free: 15.01 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.7512, allocations: 210 kB / 1.512 GB, free: 14.76 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.7528, allocations: 0.9486 MB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/0.7532, allocations: 69.69 kB / 1.513 GB, free: 13.72 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.7539, allocations: 0.76 MB / 1.514 GB, free: 12.95 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008399/0.7548, allocations: 0.7087 MB / 1.515 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007917/0.7556, allocations: 399.2 kB / 1.515 GB, free: 11.84 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7557, allocations: 301.1 kB / 1.515 GB, free: 11.54 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/0.7598, allocations: 1.265 MB / 1.516 GB, free: 10.28 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004468/0.7643, allocations: 1.434 MB / 1.518 GB, free: 8.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008775/0.7731, allocations: 2.606 MB / 1.52 GB, free: 6.195 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.7731, allocations: 3.938 kB / 1.52 GB, free: 6.191 MB / 1.217 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01058/0.7837, allocations: 3.129 MB / 1.523 GB, free: 3.051 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.7837, allocations: 8 kB / 1.523 GB, free: 3.043 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.7837, allocations: 0 / 1.523 GB, free: 3.043 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.7843, allocations: 88.83 kB / 1.524 GB, free: 2.953 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.7882, allocations: 0.6006 MB / 1.524 GB, free: 2.352 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.7906, allocations: 1.541 MB / 1.526 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/0.7942, allocations: 374.5 kB / 1.526 GB, free: 336 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/0.7946, allocations: 95.89 kB / 1.526 GB, free: 240 kB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.00135/0.796, allocations: 444.1 kB / 1.527 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.7965, allocations: 167 kB / 1.527 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.8082, allocations: 3.708 MB / 1.53 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.8083, allocations: 24 kB / 1.53 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8083, allocations: 0 / 1.53 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.8083, allocations: 11.95 kB / 1.53 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.8122, allocations: 2.42 MB / 1.533 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.8122, allocations: 0 / 1.533 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003711/0.8159, allocations: 0.5656 MB / 1.533 GB, free: 8.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005019/0.8164, allocations: 76.78 kB / 1.533 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003054/0.8167, allocations: 71.92 kB / 1.533 GB, free: 8.691 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.8189, allocations: 1.56 MB / 1.535 GB, free: 7.008 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8189, allocations: 3.938 kB / 1.535 GB, free: 7.004 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.8297, allocations: 3.215 MB / 1.538 GB, free: 3.766 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/0.8316, allocations: 488 kB / 1.539 GB, free: 3.289 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006405/0.8323, allocations: 55.83 kB / 1.539 GB, free: 3.234 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/0.8353, allocations: 273.7 kB / 1.539 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/0.8357, allocations: 157.6 kB / 1.539 GB, free: 2.816 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/0.8359, allocations: 95.89 kB / 1.539 GB, free: 2.723 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001174/0.8371, allocations: 0.7036 MB / 1.54 GB, free: 2.012 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.8371, allocations: 0 / 1.54 GB, free: 2.012 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002086/0.8392, allocations: 0.678 MB / 1.54 GB, free: 1.332 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002264/0.8414, allocations: 0.6651 MB / 1.541 GB, free: 0.8398 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01029/0.8517, allocations: 3.03 MB / 1.544 GB, free: 13.79 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8517, allocations: 4.062 kB / 1.544 GB, free: 13.79 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/0.8569, allocations: 1.622 MB / 1.546 GB, free: 12.16 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.8589, allocations: 395.2 kB / 1.546 GB, free: 11.79 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/0.8688, allocations: 4.144 MB / 1.55 GB, free: 7.609 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.87, allocations: 1.424 MB / 1.551 GB, free: 6.148 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003118/0.8731, allocations: 0.5872 MB / 1.552 GB, free: 5.555 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.8742, allocations: 231.2 kB / 1.552 GB, free: 5.328 MB / 1.248 GB Notification: Performance of SimCode: time 1.954e-06/0.8742, allocations: 0 / 1.552 GB, free: 5.328 MB / 1.248 GB Notification: Performance of Templates: time 0.06713/0.9413, allocations: 33.26 MB / 1.585 GB, free: 4.254 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: 11.052322961390018]