Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.001785/0.001785, allocations: 108.4 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.002207/0.002207, 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.857/2.857, allocations: 476.7 MB / 0.7672 GB, free: 5.398 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",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.002189/0.002189, allocations: 63.91 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8682, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2299/1.098, allocations: 180.1 MB / 1.454 GB, free: 8.664 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01888/1.117, allocations: 11.04 MB / 1.465 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/1.118, allocations: 43.62 kB / 1.465 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/1.12, allocations: 424.6 kB / 1.465 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/1.124, allocations: 1.131 MB / 1.466 GB, free: 12 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/1.13, allocations: 1.751 MB / 1.468 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00381/1.133, allocations: 2.392 MB / 1.47 GB, free: 7.848 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002395/1.136, allocations: 1.151 MB / 1.472 GB, free: 6.656 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/1.14, allocations: 1.338 MB / 1.473 GB, free: 5.332 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/1.142, allocations: 0.8402 MB / 1.474 GB, free: 4.488 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006723/1.143, allocations: 156 kB / 1.474 GB, free: 4.336 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/1.147, allocations: 1.501 MB / 1.475 GB, free: 2.832 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008556/1.148, allocations: 462.5 kB / 1.476 GB, free: 2.379 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001692/1.149, allocations: 0.7969 MB / 1.477 GB, free: 1.578 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006245/1.156, allocations: 2.643 MB / 1.479 GB, free: 14.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.156, allocations: 0 / 1.479 GB, free: 14.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.024e-06/1.156, allocations: 0 / 1.479 GB, free: 14.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.583e-05/1.156, allocations: 0 / 1.479 GB, free: 14.93 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005118/1.161, allocations: 1.967 MB / 1.481 GB, free: 12.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.797e-05/1.161, allocations: 11.97 kB / 1.481 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/1.161, allocations: 185.4 kB / 1.481 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.165, allocations: 398.7 kB / 1.482 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/1.167, allocations: 1.004 MB / 1.483 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.167, allocations: 94.31 kB / 1.483 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/1.168, allocations: 116 kB / 1.483 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/1.171, allocations: 1.294 MB / 1.484 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.171, allocations: 0 / 1.484 GB, free: 9.688 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/1.171, allocations: 48 kB / 1.484 GB, free: 9.641 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/1.171, allocations: 28 kB / 1.484 GB, free: 9.613 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/1.174, allocations: 1.461 MB / 1.486 GB, free: 8.145 MB / 1.186 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.008228/1.182, allocations: 4.058 MB / 1.49 GB, free: 3.879 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/1.185, allocations: 1.155 MB / 1.491 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/1.186, allocations: 419.6 kB / 1.491 GB, free: 2.297 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008336/1.186, allocations: 429.5 kB / 1.491 GB, free: 1.805 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/1.188, allocations: 0.6606 MB / 1.492 GB, free: 1.121 MB / 1.186 GB Notification: Performance of pre-optimization done (n=106): time 3.206e-06/1.188, allocations: 0 / 1.492 GB, free: 1.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=106): time 0.004783/1.193, allocations: 1.614 MB / 1.494 GB, free: 15.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.193, allocations: 192.9 kB / 1.494 GB, free: 15.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/1.194, allocations: 0.9035 MB / 1.495 GB, free: 14.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/1.195, allocations: 45.7 kB / 1.495 GB, free: 14.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/1.195, allocations: 0.5363 MB / 1.495 GB, free: 13.73 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/1.196, allocations: 368.8 kB / 1.496 GB, free: 13.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/1.196, allocations: 198.5 kB / 1.496 GB, free: 13.17 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.196, allocations: 349.9 kB / 1.496 GB, free: 12.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008943/1.197, allocations: 357.8 kB / 1.497 GB, free: 12.47 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.198, allocations: 0.5087 MB / 1.497 GB, free: 11.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/1.2, allocations: 0.8407 MB / 1.498 GB, free: 11.07 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.2, allocations: 0 / 1.498 GB, free: 11.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002979/1.203, allocations: 1.122 MB / 1.499 GB, free: 9.934 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.203, allocations: 8 kB / 1.499 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.203, allocations: 0 / 1.499 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/1.204, allocations: 88.8 kB / 1.499 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.205, allocations: 219.7 kB / 1.499 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.207, allocations: 1.652 MB / 1.501 GB, free: 7.824 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.208, allocations: 131.2 kB / 1.501 GB, free: 7.695 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.208, allocations: 39.98 kB / 1.501 GB, free: 7.656 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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.0006945/1.209, allocations: 334.3 kB / 1.501 GB, free: 7.324 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/1.209, allocations: 127.2 kB / 1.501 GB, free: 7.199 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/1.213, allocations: 1.502 MB / 1.503 GB, free: 5.672 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.213, allocations: 8 kB / 1.503 GB, free: 5.664 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.213, allocations: 4 kB / 1.503 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.213, allocations: 11.91 kB / 1.503 GB, free: 5.648 MB / 1.201 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 postOpt removeSimpleEquations (simulation): time 0.005746/1.219, allocations: 2.859 MB / 1.506 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.219, allocations: 0 / 1.506 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009999/1.22, allocations: 199.9 kB / 1.506 GB, free: 2.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/1.22, allocations: 76.78 kB / 1.506 GB, free: 2.41 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.22, allocations: 31.97 kB / 1.506 GB, free: 2.379 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/1.223, allocations: 1.677 MB / 1.508 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.223, allocations: 3.984 kB / 1.508 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/1.227, allocations: 1.871 MB / 1.51 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/1.227, allocations: 355.9 kB / 1.51 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/1.228, allocations: 31.95 kB / 1.51 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.229, allocations: 71.92 kB / 1.51 GB, free: 14.18 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.229, allocations: 92.75 kB / 1.51 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/1.229, allocations: 47.97 kB / 1.51 GB, free: 14.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001131/1.23, allocations: 0.654 MB / 1.511 GB, free: 13.38 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.23, allocations: 0 / 1.511 GB, free: 13.38 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001414/1.232, allocations: 454.9 kB / 1.511 GB, free: 12.93 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006805/1.238, allocations: 3.021 MB / 1.514 GB, free: 10.05 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002629/1.241, allocations: 1.03 MB / 1.515 GB, free: 9.004 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.241, allocations: 4 kB / 1.515 GB, free: 9 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.243, allocations: 0.6138 MB / 1.516 GB, free: 8.375 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/1.245, allocations: 0.5266 MB / 1.516 GB, free: 7.863 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.263, allocations: 8.884 MB / 1.525 GB, free: 14.79 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.264, allocations: 1.17 MB / 1.526 GB, free: 13.59 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001425/1.265, allocations: 373.8 kB / 1.526 GB, free: 13.22 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/1.266, allocations: 0.5383 MB / 1.527 GB, free: 12.68 MB / 1.232 GB Notification: Performance of SimCode: time 8.72e-07/1.266, allocations: 0 / 1.527 GB, free: 12.68 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08964/1.356, allocations: 33.65 MB / 1.56 GB, free: 11.42 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.1, allocations: 7.969 kB / 1.56 GB, free: 11.41 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T [Calling sys.exit(0), Time elapsed: 24.46885544108227]