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.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.001542/0.001542, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001714/0.001714, allocations: 220.5 kB / 22.24 MB, free: 5.105 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.285/3.285, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: 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.002324/0.002324, allocations: 68.42 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3899, allocations: 176.1 MB / 1.325 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.0121/0.402, allocations: 7.367 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.5949, allocations: 133.9 MB / 1.463 GB, free: 4.121 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5964, allocations: 35.81 kB / 1.463 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.5977, allocations: 320.6 kB / 1.464 GB, free: 3.77 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.6011, allocations: 0.8802 MB / 1.465 GB, free: 2.887 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.6049, allocations: 1.401 MB / 1.466 GB, free: 1.492 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004476/0.6094, allocations: 3.025 MB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.6115, allocations: 0.9657 MB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.6138, allocations: 1.254 MB / 1.471 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.616, allocations: 1.206 MB / 1.472 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008192/0.6169, allocations: 324 kB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.6187, allocations: 0.7144 MB / 1.473 GB, free: 9.93 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.6196, allocations: 0.6971 MB / 1.474 GB, free: 9.23 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.6214, allocations: 1.105 MB / 1.475 GB, free: 8.121 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004724/0.6261, allocations: 3.74 MB / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6261, allocations: 0 / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6261, allocations: 0 / 1.479 GB, free: 4.367 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.815e-05/0.6261, allocations: 0 / 1.479 GB, free: 4.367 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006521/0.6327, allocations: 2.849 MB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6327, allocations: 12.03 kB / 1.482 GB, free: 1.445 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0183/0.651, allocations: 2.309 MB / 1.484 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.6544, allocations: 1.246 MB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.6546, allocations: 164.5 kB / 1.485 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005523/0.6552, allocations: 216 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.665, allocations: 3.541 MB / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.665, allocations: 0 / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/0.6653, allocations: 92 kB / 1.489 GB, free: 9.691 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.6654, allocations: 56 kB / 1.489 GB, free: 9.637 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.6793, allocations: 4.143 MB / 1.493 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.6964, allocations: 6.12 MB / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.7057, allocations: 2.698 MB / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.7103, allocations: 1.356 MB / 1.503 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.7109, allocations: 109.9 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005363/0.7163, allocations: 1.956 MB / 1.505 GB, free: 9.098 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 5.19e-06/0.7163, allocations: 0 / 1.505 GB, free: 9.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01553/0.7318, allocations: 4.38 MB / 1.509 GB, free: 4.711 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.732, allocations: 213.9 kB / 1.509 GB, free: 4.457 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.7333, allocations: 0.8218 MB / 1.51 GB, free: 3.629 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.7336, allocations: 65.7 kB / 1.51 GB, free: 3.559 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007373/0.7343, allocations: 0.7678 MB / 1.511 GB, free: 2.781 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007724/0.7351, allocations: 0.7166 MB / 1.512 GB, free: 2.059 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/0.7358, allocations: 399.2 kB / 1.512 GB, free: 1.66 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.736, allocations: 301.1 kB / 1.512 GB, free: 1.363 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004395/0.7404, allocations: 1.253 MB / 1.514 GB, free: 112 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.7451, allocations: 1.571 MB / 1.515 GB, free: 14.49 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008852/0.7539, allocations: 2.606 MB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.7539, allocations: 4 kB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01077/0.7647, allocations: 3.117 MB / 1.521 GB, free: 8.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7647, allocations: 4 kB / 1.521 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7648, allocations: 8.062 kB / 1.521 GB, free: 8.719 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.7654, allocations: 80.78 kB / 1.521 GB, free: 8.637 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.7693, allocations: 0.6045 MB / 1.521 GB, free: 8.031 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.7721, allocations: 1.52 MB / 1.523 GB, free: 6.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/0.7761, allocations: 342.8 kB / 1.523 GB, free: 6.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008869/0.777, allocations: 103.9 kB / 1.523 GB, free: 5.969 MB / 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.001923/0.7789, allocations: 448.6 kB / 1.524 GB, free: 5.52 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000775/0.7797, allocations: 147.1 kB / 1.524 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/0.7927, allocations: 3.722 MB / 1.528 GB, free: 1.633 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.7927, allocations: 20 kB / 1.528 GB, free: 1.613 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7928, allocations: 0 / 1.528 GB, free: 1.613 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.7928, allocations: 7.969 kB / 1.528 GB, free: 1.605 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.7961, allocations: 1.751 MB / 1.529 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.7962, allocations: 0 / 1.529 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/0.7999, allocations: 0.5578 MB / 1.53 GB, free: 15.26 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.8004, allocations: 80.78 kB / 1.53 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/0.8007, allocations: 79.91 kB / 1.53 GB, free: 15.1 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.803, allocations: 1.524 MB / 1.531 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.803, allocations: 0 / 1.531 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.8149, allocations: 3.203 MB / 1.535 GB, free: 10.24 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.8167, allocations: 464.1 kB / 1.535 GB, free: 9.789 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007279/0.8174, allocations: 55.88 kB / 1.535 GB, free: 9.734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/0.8206, allocations: 271.8 kB / 1.535 GB, free: 9.469 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004294/0.821, allocations: 165.7 kB / 1.536 GB, free: 9.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003388/0.8214, allocations: 95.84 kB / 1.536 GB, free: 9.211 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00128/0.8227, allocations: 0.6102 MB / 1.536 GB, free: 8.59 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8227, allocations: 0 / 1.536 GB, free: 8.59 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002603/0.8253, allocations: 0.7012 MB / 1.537 GB, free: 7.887 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.002652/0.8279, allocations: 0.7025 MB / 1.538 GB, free: 7.395 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01148/0.8394, allocations: 3.038 MB / 1.541 GB, free: 4.348 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.8394, allocations: 0 / 1.541 GB, free: 4.348 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005951/0.8454, allocations: 1.622 MB / 1.542 GB, free: 2.711 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.8477, allocations: 361.4 kB / 1.542 GB, free: 2.375 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.8587, allocations: 4.144 MB / 1.547 GB, free: 14.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.86, allocations: 0.8561 MB / 1.547 GB, free: 13.3 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003771/0.8638, allocations: 0.5629 MB / 1.548 GB, free: 12.73 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.8651, allocations: 235.2 kB / 1.548 GB, free: 12.5 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.8651, allocations: 0 / 1.548 GB, free: 12.5 MB / 1.248 GB Notification: Performance of Templates: time 0.06011/0.9253, allocations: 32.95 MB / 1.58 GB, free: 11.86 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.2687087059021]