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.00136/0.00136, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001668/0.001668, allocations: 214.5 kB / 22.24 MB, free: 5.242 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.499/1.499, 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.277/3.277, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002114/0.002114, allocations: 68.56 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01108/0.3434, allocations: 7.363 MB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5201, allocations: 133.9 MB / 1.501 GB, free: 276 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.5218, allocations: 35.75 kB / 1.501 GB, free: 240 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.5229, allocations: 332.7 kB / 1.502 GB, free: 15.9 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.526, allocations: 0.8718 MB / 1.503 GB, free: 15.03 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.5294, allocations: 1.396 MB / 1.504 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003958/0.5333, allocations: 3.013 MB / 1.507 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.5351, allocations: 0.9696 MB / 1.508 GB, free: 9.586 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001977/0.5371, allocations: 1.254 MB / 1.509 GB, free: 8.328 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.5389, allocations: 1.21 MB / 1.51 GB, free: 7.113 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000585/0.5395, allocations: 324 kB / 1.51 GB, free: 6.797 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.5413, allocations: 0.7067 MB / 1.511 GB, free: 6.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007389/0.542, allocations: 0.7049 MB / 1.512 GB, free: 5.383 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.5434, allocations: 1.101 MB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.5486, allocations: 3.74 MB / 1.517 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.5486, allocations: 7.984 kB / 1.517 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5486, allocations: 4 kB / 1.517 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001073/0.5488, allocations: 0 / 1.517 GB, free: 0.5117 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.007385/0.5561, allocations: 2.853 MB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.5562, allocations: 8.031 kB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004712/0.5567, allocations: 324.9 kB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04559/0.6023, allocations: 6.902 MB / 1.526 GB, free: 6.348 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003784/0.606, allocations: 1.363 MB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.6062, allocations: 176.5 kB / 1.528 GB, free: 4.773 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.607, allocations: 212 kB / 1.528 GB, free: 4.566 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.63, allocations: 6.191 MB / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.468e-05/0.63, allocations: 0 / 1.534 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003983/0.6304, allocations: 92 kB / 1.534 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.6305, allocations: 56 kB / 1.534 GB, free: 14.07 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03867/0.6692, allocations: 9.131 MB / 1.543 GB, free: 4.918 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03707/0.7062, allocations: 13.7 MB / 1.557 GB, free: 5.266 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/0.7287, allocations: 5.2 MB / 1.562 GB, free: 64 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01706/0.7458, allocations: 3.854 MB / 1.565 GB, free: 12.2 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.746, allocations: 61.94 kB / 1.566 GB, free: 12.14 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01857/0.7646, allocations: 4.567 MB / 1.57 GB, free: 7.527 MB / 1.264 GB Notification: Performance of pre-optimization done (n=213): time 6.512e-06/0.7646, allocations: 4 kB / 1.57 GB, free: 7.523 MB / 1.264 GB Notification: Performance of matching and sorting (n=213): time 0.05305/0.8176, allocations: 11.5 MB / 1.581 GB, free: 12.01 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.8178, allocations: 201.9 kB / 1.581 GB, free: 11.77 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.8195, allocations: 0.9814 MB / 1.582 GB, free: 10.77 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009544/0.8204, allocations: 65.7 kB / 1.582 GB, free: 10.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/0.8212, allocations: 0.7682 MB / 1.583 GB, free: 9.922 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.8225, allocations: 0.7203 MB / 1.584 GB, free: 9.195 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.8235, allocations: 399.2 kB / 1.584 GB, free: 8.801 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8237, allocations: 305.1 kB / 1.585 GB, free: 8.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01653/0.8402, allocations: 3.739 MB / 1.588 GB, free: 4.758 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01688/0.8571, allocations: 4.06 MB / 1.592 GB, free: 0.6289 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03093/0.888, allocations: 6.744 MB / 1.599 GB, free: 9.863 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.888, allocations: 0 / 1.599 GB, free: 9.863 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0345/0.9225, allocations: 7.687 MB / 1.606 GB, free: 2.16 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.9225, allocations: 4 kB / 1.606 GB, free: 2.156 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.9225, allocations: 4 kB / 1.606 GB, free: 2.152 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/0.9232, allocations: 84.84 kB / 1.606 GB, free: 2.066 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009886/0.933, allocations: 1.549 MB / 1.608 GB, free: 0.5156 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6494/1.582, allocations: 1.513 MB / 1.609 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00984/1.592, allocations: 1.286 MB / 1.611 GB, free: 242.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009078/1.593, allocations: 103.9 kB / 1.611 GB, free: 242.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.001771/1.595, allocations: 439 kB / 1.611 GB, free: 242.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/1.596, allocations: 164.6 kB / 1.611 GB, free: 242.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0373/1.633, allocations: 8.489 MB / 1.62 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.176e-05/1.633, allocations: 22.16 kB / 1.62 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.633, allocations: 1.344 kB / 1.62 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/1.633, allocations: 15.75 kB / 1.62 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/1.639, allocations: 4.544 MB / 1.624 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/1.639, allocations: 0 / 1.624 GB, free: 237.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009438/1.648, allocations: 1.511 MB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/1.649, allocations: 75.7 kB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006689/1.649, allocations: 88.94 kB / 1.626 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.651, allocations: 1.556 MB / 1.627 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.651, allocations: 2.516 kB / 1.627 GB, free: 235.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03443/1.685, allocations: 7.819 MB / 1.635 GB, free: 234 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00287/1.688, allocations: 0.5979 MB / 1.635 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007742/1.689, allocations: 51.45 kB / 1.635 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00914/1.698, allocations: 1.187 MB / 1.637 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/1.699, allocations: 156.2 kB / 1.637 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004805/1.699, allocations: 111.9 kB / 1.637 GB, free: 233.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001233/1.7, allocations: 0.7207 MB / 1.638 GB, free: 233.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.7, allocations: 0 / 1.638 GB, free: 233.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002521/1.703, allocations: 0.7552 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.03561/1.739, allocations: 8.959 MB / 1.647 GB, free: 230.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03093/1.769, allocations: 8.012 MB / 1.655 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.769, allocations: 256 / 1.655 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01558/1.785, allocations: 4.132 MB / 1.659 GB, free: 222.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.787, allocations: 402 kB / 1.659 GB, free: 222.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/1.893, allocations: 30.75 MB / 1.689 GB, free: 191.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.894, allocations: 0.8682 MB / 1.69 GB, free: 190.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005392/1.9, allocations: 0.7241 MB / 1.691 GB, free: 189.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002832/1.903, allocations: 0.9091 MB / 1.692 GB, free: 188.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.463e-06/1.903, allocations: 0 / 1.692 GB, free: 188.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09328/1.996, allocations: 54.37 MB / 1.745 GB, free: 134.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/17.19, allocations: 12 kB / 1.745 GB, free: 134.7 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 & /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/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.241198934148997]