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.001432/0.001432, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001519/0.001519, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.424/1.424, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.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 3.152/3.152, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> 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: 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.001941/0.001941, allocations: 68.81 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3236, allocations: 180.2 MB / 1.348 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01031/0.3339, allocations: 8.504 MB / 1.356 GB, free: 1.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.5154, allocations: 155.2 MB / 1.508 GB, free: 5.633 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5169, allocations: 31.75 kB / 1.508 GB, free: 5.602 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.518, allocations: 328.6 kB / 1.508 GB, free: 5.277 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.5213, allocations: 0.8777 MB / 1.509 GB, free: 4.398 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.5245, allocations: 1.388 MB / 1.51 GB, free: 3.016 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003864/0.5283, allocations: 3.009 MB / 1.513 GB, free: 15.99 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.53, allocations: 1.023 MB / 1.514 GB, free: 14.91 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.532, allocations: 1.254 MB / 1.515 GB, free: 13.65 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.5339, allocations: 1.35 MB / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008304/0.5347, allocations: 328 kB / 1.517 GB, free: 11.97 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.5363, allocations: 0.7417 MB / 1.518 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006678/0.537, allocations: 0.6971 MB / 1.518 GB, free: 10.53 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.5384, allocations: 1.341 MB / 1.52 GB, free: 9.184 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004707/0.5432, allocations: 3.732 MB / 1.523 GB, free: 5.438 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5432, allocations: 0 / 1.523 GB, free: 5.438 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5432, allocations: 0 / 1.523 GB, free: 5.438 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.21e-05/0.5432, allocations: 0 / 1.523 GB, free: 5.438 MB / 1.217 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.006918/0.5501, allocations: 2.932 MB / 1.526 GB, free: 2.426 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5502, allocations: 15.98 kB / 1.526 GB, free: 2.41 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/0.5506, allocations: 316.9 kB / 1.527 GB, free: 2.09 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04531/0.5959, allocations: 6.906 MB / 1.533 GB, free: 11.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.5994, allocations: 1.439 MB / 1.535 GB, free: 9.688 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.5996, allocations: 168.5 kB / 1.535 GB, free: 9.52 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009301/0.6005, allocations: 220 kB / 1.535 GB, free: 9.305 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02358/0.6241, allocations: 5.936 MB / 1.541 GB, free: 3.273 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/0.6242, allocations: 0 / 1.541 GB, free: 3.273 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000669/0.6249, allocations: 92 kB / 1.541 GB, free: 3.184 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.6249, allocations: 56 kB / 1.541 GB, free: 3.129 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03845/0.6634, allocations: 9.193 MB / 1.55 GB, free: 9.914 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/0.7012, allocations: 15.68 MB / 1.565 GB, free: 8.074 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02203/0.7232, allocations: 5.206 MB / 1.57 GB, free: 2.863 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01686/0.7401, allocations: 3.854 MB / 1.574 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/0.7404, allocations: 78.09 kB / 1.574 GB, free: 14.93 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0188/0.7592, allocations: 4.478 MB / 1.579 GB, free: 10.43 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 9.748e-06/0.7592, allocations: 0 / 1.579 GB, free: 10.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.05345/0.8127, allocations: 11.58 MB / 1.59 GB, free: 14.82 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.8128, allocations: 213.9 kB / 1.59 GB, free: 14.56 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.8145, allocations: 0.9658 MB / 1.591 GB, free: 13.58 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006479/0.8152, allocations: 65.7 kB / 1.591 GB, free: 13.51 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.8159, allocations: 0.7679 MB / 1.592 GB, free: 12.73 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.8171, allocations: 0.7126 MB / 1.593 GB, free: 12.01 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.8188, allocations: 399.2 kB / 1.593 GB, free: 11.62 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8189, allocations: 305.1 kB / 1.593 GB, free: 11.32 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01641/0.8353, allocations: 3.739 MB / 1.597 GB, free: 7.574 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01706/0.8524, allocations: 3.931 MB / 1.601 GB, free: 3.602 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6249/1.477, allocations: 6.741 MB / 1.607 GB, free: 253.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.477, allocations: 0.625 kB / 1.607 GB, free: 253.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03417/1.511, allocations: 7.69 MB / 1.615 GB, free: 252.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.511, allocations: 6.281 kB / 1.615 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.511, allocations: 3.141 kB / 1.615 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/1.512, allocations: 87.69 kB / 1.615 GB, free: 252.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009216/1.521, allocations: 1.54 MB / 1.616 GB, free: 252.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/1.523, allocations: 1.626 MB / 1.618 GB, free: 250.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008681/1.532, allocations: 1.285 MB / 1.619 GB, free: 250.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/1.532, allocations: 105.5 kB / 1.619 GB, free: 250.8 MB / 1.295 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.001199/1.533, allocations: 443.7 kB / 1.62 GB, free: 250.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/1.534, allocations: 164.3 kB / 1.62 GB, free: 250.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03475/1.569, allocations: 8.477 MB / 1.628 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/1.569, allocations: 30.08 kB / 1.628 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.569, allocations: 3.938 kB / 1.628 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-05/1.569, allocations: 10.83 kB / 1.628 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/1.574, allocations: 5.258 MB / 1.633 GB, free: 244.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.574, allocations: 0 / 1.633 GB, free: 244.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008811/1.583, allocations: 1.51 MB / 1.635 GB, free: 244 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/1.583, allocations: 78.34 kB / 1.635 GB, free: 244 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/1.584, allocations: 86.12 kB / 1.635 GB, free: 244 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/1.585, allocations: 1.656 MB / 1.637 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.585, allocations: 4.062 kB / 1.637 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03149/1.617, allocations: 7.828 MB / 1.644 GB, free: 240.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.618, allocations: 0.6783 MB / 1.645 GB, free: 240.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004748/1.618, allocations: 52.97 kB / 1.645 GB, free: 240.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007671/1.626, allocations: 1.187 MB / 1.646 GB, free: 239.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.626, allocations: 149.6 kB / 1.646 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/1.627, allocations: 111.9 kB / 1.646 GB, free: 239.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008484/1.628, allocations: 0.7132 MB / 1.647 GB, free: 239.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.2e-07/1.628, allocations: 4 kB / 1.647 GB, free: 239.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001959/1.63, allocations: 0.7567 MB / 1.648 GB, free: 239 MB / 1.295 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.0319/1.661, allocations: 8.93 MB / 1.657 GB, free: 230.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03051/1.692, allocations: 8.011 MB / 1.664 GB, free: 222.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.692, allocations: 0 / 1.664 GB, free: 222.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01579/1.708, allocations: 4.136 MB / 1.668 GB, free: 218.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/1.71, allocations: 399.1 kB / 1.669 GB, free: 217.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09999/1.81, allocations: 30.75 MB / 1.699 GB, free: 186.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/1.81, allocations: 1.434 MB / 1.7 GB, free: 185.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003717/1.814, allocations: 0.7279 MB / 1.701 GB, free: 184.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/1.816, allocations: 0.9091 MB / 1.702 GB, free: 183.7 MB / 1.295 GB Notification: Performance of SimCode: time 7.91e-07/1.816, allocations: 0 / 1.702 GB, free: 183.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08056/1.897, allocations: 50.91 MB / 1.752 GB, free: 133.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.96, allocations: 4.984 kB / 1.752 GB, free: 133.1 MB / 1.295 GB " [Timeout remaining time 283] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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: 23.794261552160606]