Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001286/0.001286, allocations: 106.9 kB / 16.45 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.001487/0.001487, 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_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.002134/0.002134, allocations: 63.89 kB / 1.112 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9468/0.9489, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01469/0.9636, allocations: 8.491 MB / 1.287 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2122/1.176, allocations: 155.2 MB / 1.438 GB, free: 9.078 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/1.178, allocations: 31.75 kB / 1.438 GB, free: 9.047 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/1.179, allocations: 328.6 kB / 1.438 GB, free: 8.723 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/1.183, allocations: 0.8736 MB / 1.439 GB, free: 7.848 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/1.186, allocations: 1.395 MB / 1.441 GB, free: 6.457 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004752/1.191, allocations: 3.009 MB / 1.444 GB, free: 3.441 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/1.193, allocations: 1.023 MB / 1.445 GB, free: 2.352 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/1.196, allocations: 1.258 MB / 1.446 GB, free: 1.09 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/1.198, allocations: 1.354 MB / 1.447 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009482/1.199, allocations: 327.9 kB / 1.447 GB, free: 15.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/1.201, allocations: 0.7456 MB / 1.448 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.202, allocations: 0.6933 MB / 1.449 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/1.204, allocations: 1.353 MB / 1.45 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/1.209, allocations: 3.721 MB / 1.454 GB, free: 8.875 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.209, allocations: 0 / 1.454 GB, free: 8.875 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.292e-06/1.209, allocations: 0 / 1.454 GB, free: 8.875 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001004/1.21, allocations: 0 / 1.454 GB, free: 8.875 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.007553/1.217, allocations: 2.928 MB / 1.457 GB, free: 5.867 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.217, allocations: 8.031 kB / 1.457 GB, free: 5.859 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004198/1.218, allocations: 316.9 kB / 1.457 GB, free: 5.539 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/1.236, allocations: 2.309 MB / 1.459 GB, free: 3.227 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/1.239, allocations: 1.322 MB / 1.461 GB, free: 1.855 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.239, allocations: 168.5 kB / 1.461 GB, free: 1.688 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/1.24, allocations: 212 kB / 1.461 GB, free: 1.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00969/1.249, allocations: 3.286 MB / 1.464 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/1.25, allocations: 0 / 1.464 GB, free: 14.1 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/1.25, allocations: 92 kB / 1.464 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/1.25, allocations: 59.98 kB / 1.464 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/1.264, allocations: 4.201 MB / 1.468 GB, free: 9.73 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02056/1.285, allocations: 8.055 MB / 1.476 GB, free: 1.41 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/1.295, allocations: 2.704 MB / 1.479 GB, free: 14.7 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00507/1.3, allocations: 1.36 MB / 1.48 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009998/1.301, allocations: 0.5074 MB / 1.481 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006276/1.308, allocations: 1.844 MB / 1.482 GB, free: 10.87 MB / 1.186 GB Notification: Performance of pre-optimization done (n=213): time 6.683e-06/1.308, allocations: 0 / 1.482 GB, free: 10.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=213): time 0.01793/1.326, allocations: 4.479 MB / 1.487 GB, free: 6.367 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.326, allocations: 205.9 kB / 1.487 GB, free: 6.121 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/1.328, allocations: 0.9814 MB / 1.488 GB, free: 5.121 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000382/1.328, allocations: 61.7 kB / 1.488 GB, free: 5.055 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/1.329, allocations: 0.7757 MB / 1.489 GB, free: 4.27 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.33, allocations: 0.7048 MB / 1.49 GB, free: 3.559 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.331, allocations: 383.3 kB / 1.49 GB, free: 3.18 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.331, allocations: 305.1 kB / 1.49 GB, free: 2.879 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/1.336, allocations: 1.234 MB / 1.491 GB, free: 1.645 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/1.341, allocations: 1.437 MB / 1.493 GB, free: 176 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00946/1.351, allocations: 2.587 MB / 1.495 GB, free: 13.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.351, allocations: 0 / 1.495 GB, free: 13.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01157/1.362, allocations: 3.086 MB / 1.498 GB, free: 10.47 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.362, allocations: 6.5 kB / 1.498 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.362, allocations: 0 / 1.498 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/1.363, allocations: 88.78 kB / 1.498 GB, free: 10.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004122/1.367, allocations: 0.589 MB / 1.499 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/1.37, allocations: 1.64 MB / 1.501 GB, free: 8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.373, allocations: 366.6 kB / 1.501 GB, free: 7.641 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000722/1.374, allocations: 95.89 kB / 1.501 GB, free: 7.547 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.001879/1.376, allocations: 441.8 kB / 1.501 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000662/1.377, allocations: 163.1 kB / 1.502 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.39, allocations: 3.724 MB / 1.505 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/1.39, allocations: 20 kB / 1.505 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.39, allocations: 4 kB / 1.505 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/1.39, allocations: 15.95 kB / 1.505 GB, free: 3.164 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/1.394, allocations: 2.483 MB / 1.508 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/1.394, allocations: 3.938 kB / 1.508 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/1.398, allocations: 0.5578 MB / 1.508 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/1.399, allocations: 76.83 kB / 1.508 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004016/1.399, allocations: 79.86 kB / 1.508 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/1.401, allocations: 1.658 MB / 1.51 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.401, allocations: 0 / 1.51 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.413, allocations: 3.223 MB / 1.513 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.414, allocations: 0.5577 MB / 1.514 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005253/1.415, allocations: 51.89 kB / 1.514 GB, free: 10.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/1.418, allocations: 263.7 kB / 1.514 GB, free: 9.984 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/1.418, allocations: 157.8 kB / 1.514 GB, free: 9.832 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/1.419, allocations: 95.91 kB / 1.514 GB, free: 9.738 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001225/1.42, allocations: 0.7197 MB / 1.515 GB, free: 9.012 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.42, allocations: 0 / 1.515 GB, free: 9.012 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002133/1.422, allocations: 0.678 MB / 1.516 GB, free: 8.332 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.01382/1.436, allocations: 4.341 MB / 1.52 GB, free: 4.137 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.447, allocations: 2.999 MB / 1.523 GB, free: 1.129 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.447, allocations: 0 / 1.523 GB, free: 1.129 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00595/1.453, allocations: 1.63 MB / 1.524 GB, free: 15.48 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/1.455, allocations: 402.5 kB / 1.525 GB, free: 15.11 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/1.5, allocations: 15.97 MB / 1.54 GB, free: 14.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.502, allocations: 1.43 MB / 1.542 GB, free: 13.46 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003244/1.505, allocations: 0.5952 MB / 1.542 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.507, allocations: 0.8896 MB / 1.543 GB, free: 11.97 MB / 1.248 GB Notification: Performance of SimCode: time 1.282e-06/1.507, allocations: 0 / 1.543 GB, free: 11.97 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09346/1.6, allocations: 43.34 MB / 1.586 GB, free: 0.9922 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.89, allocations: 10.64 kB / 1.586 GB, free: 0.9844 MB / 1.279 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.216861233115196]