Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001585/0.001585, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.001895/0.001895, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.963/2.963, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 68.19 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9012/0.9035, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008538/0.912, allocations: 7.373 MB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1881/1.1, allocations: 133.9 MB / 1.325 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/1.102, allocations: 27.81 kB / 1.325 GB, free: 8.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009087/1.103, allocations: 324.6 kB / 1.325 GB, free: 8.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/1.105, allocations: 0.8764 MB / 1.326 GB, free: 7.391 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/1.109, allocations: 1.401 MB / 1.327 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003495/1.112, allocations: 3.021 MB / 1.33 GB, free: 2.965 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.114, allocations: 0.9696 MB / 1.331 GB, free: 1.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/1.115, allocations: 1.254 MB / 1.332 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/1.117, allocations: 1.209 MB / 1.333 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004638/1.118, allocations: 328 kB / 1.334 GB, free: 15.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/1.119, allocations: 0.7066 MB / 1.334 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006897/1.12, allocations: 0.6971 MB / 1.335 GB, free: 13.73 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/1.121, allocations: 1.101 MB / 1.336 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004284/1.125, allocations: 3.752 MB / 1.34 GB, free: 8.863 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.125, allocations: 0 / 1.34 GB, free: 8.863 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.452e-06/1.125, allocations: 0 / 1.34 GB, free: 8.863 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.272e-05/1.125, allocations: 3.938 kB / 1.34 GB, free: 8.859 MB / 1.186 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.006364/1.132, allocations: 2.849 MB / 1.343 GB, free: 5.949 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.132, allocations: 8.031 kB / 1.343 GB, free: 5.941 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04817/1.18, allocations: 6.91 MB / 1.349 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/1.184, allocations: 1.355 MB / 1.351 GB, free: 13.63 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/1.184, allocations: 168.5 kB / 1.351 GB, free: 13.46 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009293/1.185, allocations: 220 kB / 1.351 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/1.209, allocations: 6.198 MB / 1.357 GB, free: 6.895 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.089e-05/1.209, allocations: 0 / 1.357 GB, free: 6.895 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006132/1.21, allocations: 92 kB / 1.357 GB, free: 6.805 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/1.21, allocations: 56 kB / 1.357 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04055/1.251, allocations: 9.127 MB / 1.366 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/1.288, allocations: 13.38 MB / 1.379 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02335/1.312, allocations: 5.212 MB / 1.384 GB, free: 9.051 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01779/1.329, allocations: 3.853 MB / 1.388 GB, free: 5.195 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/1.33, allocations: 57.94 kB / 1.388 GB, free: 5.141 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01927/1.349, allocations: 4.574 MB / 1.393 GB, free: 0.5234 MB / 1.232 GB Notification: Performance of pre-optimization done (n=213): time 5.541e-06/1.349, allocations: 0 / 1.393 GB, free: 0.5234 MB / 1.232 GB Notification: Performance of matching and sorting (n=213): time 0.05682/1.406, allocations: 11.49 MB / 1.404 GB, free: 5.023 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.406, allocations: 205.9 kB / 1.404 GB, free: 4.777 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/1.408, allocations: 0.8257 MB / 1.405 GB, free: 3.945 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005626/1.408, allocations: 61.7 kB / 1.405 GB, free: 3.879 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000928/1.409, allocations: 0.7756 MB / 1.406 GB, free: 3.094 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/1.41, allocations: 0.7128 MB / 1.406 GB, free: 2.375 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/1.412, allocations: 423.2 kB / 1.407 GB, free: 1.953 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.412, allocations: 301.1 kB / 1.407 GB, free: 1.656 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01788/1.43, allocations: 3.759 MB / 1.411 GB, free: 13.89 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01825/1.448, allocations: 4.065 MB / 1.415 GB, free: 9.781 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03294/1.481, allocations: 6.775 MB / 1.421 GB, free: 2.984 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.481, allocations: 0 / 1.421 GB, free: 2.984 MB / 1.264 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0373/1.518, allocations: 7.723 MB / 1.429 GB, free: 11.25 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.518, allocations: 6.344 kB / 1.429 GB, free: 11.24 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.518, allocations: 4 kB / 1.429 GB, free: 11.24 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006701/1.519, allocations: 92.81 kB / 1.429 GB, free: 11.14 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/1.529, allocations: 1.553 MB / 1.43 GB, free: 9.59 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/1.532, allocations: 1.494 MB / 1.432 GB, free: 7.992 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009678/1.542, allocations: 1.275 MB / 1.433 GB, free: 6.715 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/1.542, allocations: 111.8 kB / 1.433 GB, free: 6.605 MB / 1.279 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.001514/1.544, allocations: 448.2 kB / 1.434 GB, free: 6.156 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.544, allocations: 147.1 kB / 1.434 GB, free: 6.012 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03827/1.583, allocations: 8.475 MB / 1.442 GB, free: 13.51 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.583, allocations: 24 kB / 1.442 GB, free: 13.48 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.583, allocations: 3.984 kB / 1.442 GB, free: 13.48 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.112e-05/1.583, allocations: 7.969 kB / 1.442 GB, free: 13.47 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/1.589, allocations: 4.3 MB / 1.446 GB, free: 8.207 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.589, allocations: 4 kB / 1.446 GB, free: 8.203 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01001/1.599, allocations: 1.506 MB / 1.448 GB, free: 6.695 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/1.599, allocations: 72.73 kB / 1.448 GB, free: 6.621 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004555/1.6, allocations: 87.88 kB / 1.448 GB, free: 6.535 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/1.602, allocations: 1.525 MB / 1.449 GB, free: 4.902 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.602, allocations: 4.062 kB / 1.449 GB, free: 4.898 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03683/1.639, allocations: 7.808 MB / 1.457 GB, free: 13.07 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.641, allocations: 0.5819 MB / 1.458 GB, free: 12.48 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.641, allocations: 47.95 kB / 1.458 GB, free: 12.44 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009152/1.65, allocations: 1.194 MB / 1.459 GB, free: 11.24 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/1.651, allocations: 157.7 kB / 1.459 GB, free: 11.09 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/1.651, allocations: 107.8 kB / 1.459 GB, free: 10.98 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001109/1.652, allocations: 0.6062 MB / 1.46 GB, free: 10.36 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.652, allocations: 0 / 1.46 GB, free: 10.36 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00242/1.655, allocations: 0.7832 MB / 1.46 GB, free: 9.578 MB / 1.311 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.002426/1.657, allocations: 0.6823 MB / 1.461 GB, free: 9.098 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03689/1.694, allocations: 8.034 MB / 1.469 GB, free: 1.047 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.694, allocations: 0 / 1.469 GB, free: 1.047 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01954/1.714, allocations: 4.132 MB / 1.473 GB, free: 12.9 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/1.717, allocations: 357.1 kB / 1.473 GB, free: 12.57 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/1.741, allocations: 6.642 MB / 1.48 GB, free: 5.887 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.742, allocations: 0.8607 MB / 1.481 GB, free: 4.984 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.005024/1.747, allocations: 0.6878 MB / 1.481 GB, free: 4.289 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.749, allocations: 256.2 kB / 1.482 GB, free: 4.039 MB / 1.326 GB Notification: Performance of SimCode: time 1.002e-06/1.749, allocations: 4 kB / 1.482 GB, free: 4.035 MB / 1.326 GB Notification: Performance of Templates: time 0.06887/1.818, allocations: 38.98 MB / 1.52 GB, free: 13.24 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.56656306097284]