Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001831/0.001831, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002605/0.002605, allocations: 222.2 kB / 22.25 MB, free: 5.254 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_12_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.002006/0.002006, allocations: 70.88 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3734, allocations: 176.1 MB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01284/0.3863, allocations: 7.387 MB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5721, allocations: 133.9 MB / 1.464 GB, free: 3.762 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.5737, allocations: 27.81 kB / 1.464 GB, free: 3.734 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.5748, allocations: 328.6 kB / 1.464 GB, free: 3.41 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.5781, allocations: 0.8866 MB / 1.465 GB, free: 2.523 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.5815, allocations: 1.395 MB / 1.466 GB, free: 1.133 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00428/0.5858, allocations: 3.013 MB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.5877, allocations: 1.016 MB / 1.47 GB, free: 13.03 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.5899, allocations: 1.254 MB / 1.472 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.592, allocations: 1.358 MB / 1.473 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.5928, allocations: 328 kB / 1.473 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.5945, allocations: 0.7261 MB / 1.474 GB, free: 9.363 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000737/0.5952, allocations: 0.701 MB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.5966, allocations: 1.097 MB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004989/0.6016, allocations: 3.744 MB / 1.479 GB, free: 3.801 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.6016, allocations: 11.98 kB / 1.479 GB, free: 3.789 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6016, allocations: 0 / 1.479 GB, free: 3.789 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.367e-05/0.6017, allocations: 0 / 1.479 GB, free: 3.789 MB / 1.17 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.007339/0.609, allocations: 2.853 MB / 1.482 GB, free: 0.875 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6091, allocations: 8.031 kB / 1.482 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004776/0.6096, allocations: 316.9 kB / 1.482 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/0.6275, allocations: 2.316 MB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.6312, allocations: 1.226 MB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.6314, allocations: 172.5 kB / 1.486 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005971/0.632, allocations: 220 kB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009972/0.642, allocations: 3.533 MB / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.642, allocations: 0 / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/0.6423, allocations: 99.98 kB / 1.49 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.6424, allocations: 52 kB / 1.49 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.6561, allocations: 4.139 MB / 1.494 GB, free: 4.586 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.6731, allocations: 6.428 MB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009815/0.6829, allocations: 2.709 MB / 1.503 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/0.6878, allocations: 1.356 MB / 1.504 GB, free: 9.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.6884, allocations: 113.9 kB / 1.504 GB, free: 9.871 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005773/0.6942, allocations: 1.952 MB / 1.506 GB, free: 7.875 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 5.269e-06/0.6942, allocations: 0 / 1.506 GB, free: 7.875 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01566/0.7099, allocations: 4.396 MB / 1.51 GB, free: 3.473 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.71, allocations: 205.9 kB / 1.511 GB, free: 3.227 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.7116, allocations: 0.9813 MB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004743/0.7121, allocations: 69.69 kB / 1.512 GB, free: 2.152 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007777/0.7129, allocations: 0.7681 MB / 1.512 GB, free: 1.375 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009737/0.7138, allocations: 0.7164 MB / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007558/0.7146, allocations: 379.3 kB / 1.513 GB, free: 284 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7148, allocations: 301.2 kB / 1.514 GB, free: 15.98 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/0.7191, allocations: 1.241 MB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004849/0.724, allocations: 1.558 MB / 1.516 GB, free: 13.11 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009286/0.7333, allocations: 2.594 MB / 1.519 GB, free: 10.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.7333, allocations: 0 / 1.519 GB, free: 10.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01108/0.7443, allocations: 3.082 MB / 1.522 GB, free: 7.402 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.7444, allocations: 4 kB / 1.522 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.7444, allocations: 4 kB / 1.522 GB, free: 7.395 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.745, allocations: 88.77 kB / 1.522 GB, free: 7.305 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003809/0.7488, allocations: 0.589 MB / 1.523 GB, free: 6.715 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.7511, allocations: 1.539 MB / 1.524 GB, free: 5.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.7544, allocations: 359.8 kB / 1.525 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005259/0.7549, allocations: 95.89 kB / 1.525 GB, free: 4.613 MB / 1.217 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.001206/0.7561, allocations: 424.7 kB / 1.525 GB, free: 4.188 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004997/0.7566, allocations: 170.9 kB / 1.525 GB, free: 4.02 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.7694, allocations: 3.716 MB / 1.529 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.7694, allocations: 24 kB / 1.529 GB, free: 268 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7694, allocations: 0 / 1.529 GB, free: 268 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-05/0.7695, allocations: 15.95 kB / 1.529 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.7737, allocations: 2.003 MB / 1.531 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.7737, allocations: 3.938 kB / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/0.7775, allocations: 0.5655 MB / 1.531 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/0.7781, allocations: 72.8 kB / 1.531 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/0.7785, allocations: 75.91 kB / 1.531 GB, free: 13.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.7806, allocations: 1.555 MB / 1.533 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7806, allocations: 0 / 1.533 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/0.7917, allocations: 3.219 MB / 1.536 GB, free: 8.566 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.7932, allocations: 491.9 kB / 1.537 GB, free: 8.086 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.7936, allocations: 47.95 kB / 1.537 GB, free: 8.039 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/0.7964, allocations: 267.8 kB / 1.537 GB, free: 7.777 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.7968, allocations: 165.7 kB / 1.537 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/0.797, allocations: 95.91 kB / 1.537 GB, free: 7.523 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001211/0.7982, allocations: 0.7159 MB / 1.538 GB, free: 6.801 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7982, allocations: 0 / 1.538 GB, free: 6.801 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002101/0.8003, allocations: 0.6818 MB / 1.539 GB, free: 6.117 MB / 1.232 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.01328/0.8136, allocations: 4.375 MB / 1.543 GB, free: 1.926 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.8244, allocations: 3.006 MB / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8244, allocations: 0 / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.8299, allocations: 1.618 MB / 1.547 GB, free: 13.27 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.8318, allocations: 407.9 kB / 1.548 GB, free: 12.9 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/0.875, allocations: 15.97 MB / 1.563 GB, free: 12.72 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.8761, allocations: 0.8644 MB / 1.564 GB, free: 11.81 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003237/0.8794, allocations: 0.5991 MB / 1.565 GB, free: 11.21 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/0.8812, allocations: 0.8857 MB / 1.566 GB, free: 10.32 MB / 1.264 GB Notification: Performance of SimCode: time 1.413e-06/0.8813, allocations: 0 / 1.566 GB, free: 10.32 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7919/1.673, allocations: 46.54 MB / 1.611 GB, free: 276.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/16.22, allocations: 5.953 kB / 1.611 GB, free: 276.2 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.256062130996725]