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.001981/0.001981, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002296/0.002296, allocations: 216.3 kB / 22.25 MB, free: 5.258 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.495/1.495, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.383/3.383, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 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: "" <> 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.002237/0.002237, allocations: 71.81 kB / 1.186 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3801, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01103/0.3912, allocations: 7.369 MB / 1.371 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.5764, allocations: 133.9 MB / 1.501 GB, free: 336 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.5784, allocations: 27.81 kB / 1.501 GB, free: 308 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.5799, allocations: 332.7 kB / 1.502 GB, free: 15.97 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/0.5838, allocations: 0.8824 MB / 1.503 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.5877, allocations: 1.393 MB / 1.504 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004894/0.5926, allocations: 3.009 MB / 1.507 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.5949, allocations: 0.9696 MB / 1.508 GB, free: 9.648 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.5973, allocations: 1.258 MB / 1.509 GB, free: 8.387 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.5998, allocations: 1.206 MB / 1.51 GB, free: 7.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.601, allocations: 328 kB / 1.51 GB, free: 6.855 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.6032, allocations: 0.7145 MB / 1.511 GB, free: 6.141 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.6044, allocations: 0.6971 MB / 1.512 GB, free: 5.441 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.6067, allocations: 1.105 MB / 1.513 GB, free: 4.332 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.6125, allocations: 3.74 MB / 1.517 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6125, allocations: 0 / 1.517 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6125, allocations: 0 / 1.517 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.000131/0.6126, allocations: 7.938 kB / 1.517 GB, free: 0.5703 MB / 1.201 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.00818/0.6208, allocations: 2.845 MB / 1.519 GB, free: 13.66 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6208, allocations: 12.03 kB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007346/0.6216, allocations: 320.8 kB / 1.52 GB, free: 13.33 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04538/0.667, allocations: 6.906 MB / 1.526 GB, free: 6.414 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.6709, allocations: 1.363 MB / 1.528 GB, free: 5.016 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.6711, allocations: 176.5 kB / 1.528 GB, free: 4.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.6723, allocations: 216 kB / 1.528 GB, free: 4.629 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.6965, allocations: 6.191 MB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/0.6966, allocations: 0 / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00087/0.6975, allocations: 95.94 kB / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.5e-05/0.6975, allocations: 56 kB / 1.534 GB, free: 14.13 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03894/0.7365, allocations: 9.135 MB / 1.543 GB, free: 4.977 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03788/0.7744, allocations: 13.69 MB / 1.557 GB, free: 5.328 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02217/0.7965, allocations: 5.2 MB / 1.562 GB, free: 128 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/0.8136, allocations: 3.854 MB / 1.565 GB, free: 12.26 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.814, allocations: 62.03 kB / 1.566 GB, free: 12.2 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01908/0.833, allocations: 4.577 MB / 1.57 GB, free: 7.582 MB / 1.264 GB Notification: Performance of pre-optimization done (n=213): time 8.977e-06/0.833, allocations: 0 / 1.57 GB, free: 7.582 MB / 1.264 GB Notification: Performance of matching and sorting (n=213): time 0.0539/0.8869, allocations: 11.5 MB / 1.581 GB, free: 12.07 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.8871, allocations: 201.9 kB / 1.581 GB, free: 11.82 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.8889, allocations: 0.9775 MB / 1.582 GB, free: 10.83 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006813/0.8895, allocations: 61.7 kB / 1.582 GB, free: 10.76 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007546/0.8903, allocations: 0.7757 MB / 1.583 GB, free: 9.977 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.8917, allocations: 0.7165 MB / 1.584 GB, free: 9.254 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.8934, allocations: 399.2 kB / 1.584 GB, free: 8.859 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8936, allocations: 305.1 kB / 1.585 GB, free: 8.559 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01688/0.9105, allocations: 3.732 MB / 1.588 GB, free: 4.824 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01731/0.9278, allocations: 4.064 MB / 1.592 GB, free: 0.6914 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03139/0.9591, allocations: 6.747 MB / 1.599 GB, free: 9.918 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.9592, allocations: 0 / 1.599 GB, free: 9.918 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03566/0.9948, allocations: 7.684 MB / 1.606 GB, free: 2.219 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.9948, allocations: 4 kB / 1.606 GB, free: 2.215 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.9949, allocations: 4 kB / 1.606 GB, free: 2.211 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.9955, allocations: 88.83 kB / 1.606 GB, free: 2.121 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009906/1.005, allocations: 1.545 MB / 1.608 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7025/1.708, allocations: 1.507 MB / 1.609 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009818/1.718, allocations: 1.288 MB / 1.611 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008188/1.719, allocations: 105.6 kB / 1.611 GB, free: 242.4 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.00149/1.72, allocations: 438.2 kB / 1.611 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006444/1.721, allocations: 166.2 kB / 1.611 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0382/1.759, allocations: 8.49 MB / 1.62 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-05/1.759, allocations: 22.81 kB / 1.62 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/1.759, allocations: 0 / 1.62 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.086e-05/1.759, allocations: 16.31 kB / 1.62 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/1.766, allocations: 4.544 MB / 1.624 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.994e-05/1.766, allocations: 1.594 kB / 1.624 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01056/1.777, allocations: 1.511 MB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/1.778, allocations: 77.98 kB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/1.778, allocations: 85.69 kB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/1.78, allocations: 1.557 MB / 1.627 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.78, allocations: 0 / 1.627 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03739/1.818, allocations: 7.819 MB / 1.635 GB, free: 234 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.82, allocations: 0.5999 MB / 1.635 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.821, allocations: 54.19 kB / 1.635 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008939/1.83, allocations: 1.187 MB / 1.637 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005743/1.83, allocations: 156.8 kB / 1.637 GB, free: 233.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006657/1.831, allocations: 103.9 kB / 1.637 GB, free: 233.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001363/1.832, allocations: 0.7281 MB / 1.638 GB, free: 233.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.832, allocations: 0 / 1.638 GB, free: 233.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002914/1.835, allocations: 0.7563 MB / 1.638 GB, free: 233.1 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.03709/1.872, allocations: 8.964 MB / 1.647 GB, free: 230.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03226/1.905, allocations: 8.013 MB / 1.655 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.905, allocations: 0 / 1.655 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01642/1.921, allocations: 4.132 MB / 1.659 GB, free: 222.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.924, allocations: 395.2 kB / 1.659 GB, free: 222.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/2.033, allocations: 30.75 MB / 1.689 GB, free: 191.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/2.034, allocations: 0.8625 MB / 1.69 GB, free: 190.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005266/2.04, allocations: 0.728 MB / 1.691 GB, free: 189.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/2.042, allocations: 0.9091 MB / 1.692 GB, free: 188.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.593e-06/2.042, allocations: 0 / 1.692 GB, free: 188.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09371/2.136, allocations: 54.38 MB / 1.745 GB, free: 134.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/17.65, allocations: 7.938 kB / 1.745 GB, free: 134.7 MB / 1.295 GB " [Timeout remaining time 282] (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: 24.99717636220157]