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.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.001426/0.001426, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001393/0.001393, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 497.2 MB / 0.7812 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003251/0.003251, allocations: 67.89 kB / 1.134 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.982, allocations: 173.9 MB / 1.304 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01325/0.9952, allocations: 8.469 MB / 1.312 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1909/1.186, allocations: 152.3 MB / 1.461 GB, free: 3.574 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.188, allocations: 19.94 kB / 1.461 GB, free: 3.555 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/1.189, allocations: 328.6 kB / 1.461 GB, free: 3.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004755/1.194, allocations: 0.8753 MB / 1.462 GB, free: 2.355 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/1.198, allocations: 1.381 MB / 1.463 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004758/1.203, allocations: 2.99 MB / 1.466 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/1.205, allocations: 1.023 MB / 1.467 GB, free: 12.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/1.207, allocations: 1.199 MB / 1.469 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/1.209, allocations: 1.35 MB / 1.47 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006258/1.21, allocations: 328 kB / 1.47 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/1.211, allocations: 0.6988 MB / 1.471 GB, free: 9.316 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000666/1.212, allocations: 0.6971 MB / 1.472 GB, free: 8.617 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.214, allocations: 1.334 MB / 1.473 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004961/1.219, allocations: 3.686 MB / 1.476 GB, free: 3.578 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.219, allocations: 0 / 1.476 GB, free: 3.578 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/1.219, allocations: 0 / 1.476 GB, free: 3.578 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.28e-05/1.219, allocations: 0 / 1.476 GB, free: 3.578 MB / 1.154 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.00677/1.225, allocations: 2.909 MB / 1.479 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/1.225, allocations: 12.03 kB / 1.479 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003879/1.226, allocations: 312.9 kB / 1.48 GB, free: 268 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/1.241, allocations: 2.121 MB / 1.482 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/1.244, allocations: 1.287 MB / 1.483 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.245, allocations: 172.5 kB / 1.483 GB, free: 12.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/1.245, allocations: 224 kB / 1.483 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008986/1.254, allocations: 3.286 MB / 1.487 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/1.254, allocations: 0 / 1.487 GB, free: 9.031 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00028/1.254, allocations: 92 kB / 1.487 GB, free: 8.941 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/1.254, allocations: 52 kB / 1.487 GB, free: 8.891 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.267, allocations: 4.209 MB / 1.491 GB, free: 4.664 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/1.284, allocations: 8.152 MB / 1.499 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008527/1.293, allocations: 2.707 MB / 1.501 GB, free: 9.504 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/1.297, allocations: 1.355 MB / 1.503 GB, free: 8.148 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/1.298, allocations: 0.5074 MB / 1.503 GB, free: 7.551 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005133/1.303, allocations: 1.84 MB / 1.505 GB, free: 5.691 MB / 1.186 GB Notification: Performance of pre-optimization done (n=213): time 4.178e-06/1.303, allocations: 0 / 1.505 GB, free: 5.691 MB / 1.186 GB Notification: Performance of matching and sorting (n=213): time 0.01495/1.318, allocations: 4.483 MB / 1.509 GB, free: 1.184 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.318, allocations: 205.9 kB / 1.51 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/1.32, allocations: 0.9491 MB / 1.51 GB, free: 15.96 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004441/1.32, allocations: 61.7 kB / 1.511 GB, free: 15.9 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/1.321, allocations: 0.7601 MB / 1.511 GB, free: 15.13 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/1.322, allocations: 0.7164 MB / 1.512 GB, free: 14.41 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/1.323, allocations: 379.3 kB / 1.512 GB, free: 14.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.323, allocations: 301.1 kB / 1.513 GB, free: 13.74 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.327, allocations: 1.237 MB / 1.514 GB, free: 12.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004437/1.331, allocations: 1.437 MB / 1.515 GB, free: 11.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/1.34, allocations: 2.587 MB / 1.518 GB, free: 8.418 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/1.34, allocations: 0 / 1.518 GB, free: 8.418 MB / 1.201 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01053/1.35, allocations: 3.089 MB / 1.521 GB, free: 5.316 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/1.35, allocations: 4 kB / 1.521 GB, free: 5.312 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.35, allocations: 8.172 kB / 1.521 GB, free: 5.305 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/1.351, allocations: 80.72 kB / 1.521 GB, free: 5.223 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/1.355, allocations: 0.6007 MB / 1.521 GB, free: 4.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.357, allocations: 1.631 MB / 1.523 GB, free: 2.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/1.36, allocations: 370.5 kB / 1.523 GB, free: 2.477 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/1.361, allocations: 91.91 kB / 1.523 GB, free: 2.387 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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 (231): * Single equations (assignments): 230 * 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.001115/1.362, allocations: 439.7 kB / 1.524 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/1.362, allocations: 170.9 kB / 1.524 GB, free: 1.781 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.374, allocations: 3.712 MB / 1.528 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.3e-05/1.374, allocations: 24 kB / 1.528 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.374, allocations: 0 / 1.528 GB, free: 14.03 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/1.374, allocations: 11.95 kB / 1.528 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/1.377, allocations: 2.456 MB / 1.53 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.377, allocations: 0 / 1.53 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/1.381, allocations: 0.5578 MB / 1.531 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/1.381, allocations: 80.72 kB / 1.531 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003162/1.381, allocations: 79.91 kB / 1.531 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.383, allocations: 1.659 MB / 1.532 GB, free: 8.996 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.383, allocations: 7.922 kB / 1.532 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.394, allocations: 3.215 MB / 1.536 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.395, allocations: 0.5538 MB / 1.536 GB, free: 5.172 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/1.395, allocations: 47.89 kB / 1.536 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.398, allocations: 278.1 kB / 1.536 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.399, allocations: 149.8 kB / 1.537 GB, free: 4.711 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.399, allocations: 91.97 kB / 1.537 GB, free: 4.621 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001017/1.4, allocations: 0.7036 MB / 1.537 GB, free: 3.91 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/1.4, allocations: 0 / 1.537 GB, free: 3.91 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001895/1.402, allocations: 0.678 MB / 1.538 GB, free: 3.23 MB / 1.217 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.01223/1.414, allocations: 4.334 MB / 1.542 GB, free: 15.05 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009771/1.424, allocations: 3.01 MB / 1.545 GB, free: 12.03 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.424, allocations: 0 / 1.545 GB, free: 12.03 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/1.429, allocations: 1.626 MB / 1.547 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.431, allocations: 392.2 kB / 1.547 GB, free: 10.03 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/1.473, allocations: 15.9 MB / 1.563 GB, free: 9.91 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.474, allocations: 1.422 MB / 1.564 GB, free: 8.449 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003408/1.478, allocations: 0.5795 MB / 1.565 GB, free: 7.863 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/1.48, allocations: 0.8818 MB / 1.566 GB, free: 6.984 MB / 1.248 GB Notification: Performance of SimCode: time 1.102e-06/1.48, allocations: 0 / 1.566 GB, free: 6.984 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.594, allocations: 43.05 MB / 1.608 GB, free: 12.29 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/16.21, allocations: 11.81 kB / 1.608 GB, free: 12.28 MB / 1.295 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 840.0] 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_2/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: 22.6066332180053]