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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.91 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.7818, allocations: 168.7 MB / 1.271 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1919/0.9738, allocations: 177.4 MB / 1.445 GB, free: 2.559 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.9882, allocations: 11.09 MB / 1.455 GB, free: 8.066 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.989, allocations: 31.81 kB / 1.455 GB, free: 8.035 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.9901, allocations: 428.6 kB / 1.456 GB, free: 7.613 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.9926, allocations: 1.123 MB / 1.457 GB, free: 6.488 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003534/0.9961, allocations: 1.744 MB / 1.459 GB, free: 4.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002327/0.9984, allocations: 2.385 MB / 1.461 GB, free: 2.355 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.9998, allocations: 1.128 MB / 1.462 GB, free: 1.188 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/1.003, allocations: 1.296 MB / 1.463 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009534/1.004, allocations: 0.8324 MB / 1.464 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/1.004, allocations: 156 kB / 1.464 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002387/1.006, allocations: 1.466 MB / 1.466 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/1.007, allocations: 454.6 kB / 1.466 GB, free: 13 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006918/1.007, allocations: 0.7814 MB / 1.467 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/1.01, allocations: 2.6 MB / 1.469 GB, free: 9.605 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.01, allocations: 0 / 1.469 GB, free: 9.605 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/1.01, allocations: 0 / 1.469 GB, free: 9.605 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.01, allocations: 0 / 1.469 GB, free: 9.605 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003042/1.013, allocations: 1.949 MB / 1.471 GB, free: 7.594 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.013, allocations: 8.031 kB / 1.471 GB, free: 7.586 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/1.014, allocations: 181.4 kB / 1.472 GB, free: 7.398 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.016, allocations: 362.7 kB / 1.472 GB, free: 7.043 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/1.017, allocations: 0.9922 MB / 1.473 GB, free: 6.008 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/1.017, allocations: 94.33 kB / 1.473 GB, free: 5.914 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.017, allocations: 112 kB / 1.473 GB, free: 5.805 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.02, allocations: 1.298 MB / 1.474 GB, free: 4.441 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.02, allocations: 0 / 1.474 GB, free: 4.441 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.02, allocations: 52 kB / 1.474 GB, free: 4.391 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/1.02, allocations: 28 kB / 1.474 GB, free: 4.363 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/1.022, allocations: 1.449 MB / 1.476 GB, free: 2.906 MB / 1.154 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.005642/1.028, allocations: 4.05 MB / 1.48 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/1.03, allocations: 1.149 MB / 1.481 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/1.031, allocations: 420.4 kB / 1.481 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/1.031, allocations: 417.5 kB / 1.482 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.032, allocations: 0.6606 MB / 1.482 GB, free: 11.9 MB / 1.17 GB Notification: Performance of pre-optimization done (n=106): time 2.274e-06/1.032, allocations: 3.938 kB / 1.482 GB, free: 11.9 MB / 1.17 GB Notification: Performance of matching and sorting (n=106): time 0.003827/1.036, allocations: 1.614 MB / 1.484 GB, free: 10.26 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.036, allocations: 196.9 kB / 1.484 GB, free: 10.02 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.038, allocations: 0.8711 MB / 1.485 GB, free: 9.129 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/1.038, allocations: 49.7 kB / 1.485 GB, free: 9.074 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/1.038, allocations: 0.5246 MB / 1.486 GB, free: 8.543 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.038, allocations: 372.8 kB / 1.486 GB, free: 8.176 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.039, allocations: 194.6 kB / 1.486 GB, free: 7.977 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.039, allocations: 345.9 kB / 1.486 GB, free: 7.633 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/1.039, allocations: 365.8 kB / 1.487 GB, free: 7.277 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/1.04, allocations: 0.4932 MB / 1.487 GB, free: 6.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/1.042, allocations: 0.8446 MB / 1.488 GB, free: 5.887 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.042, allocations: 0 / 1.488 GB, free: 5.887 MB / 1.17 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002383/1.044, allocations: 1.122 MB / 1.489 GB, free: 4.758 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.044, allocations: 13.81 kB / 1.489 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.044, allocations: 0 / 1.489 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/1.045, allocations: 88.88 kB / 1.489 GB, free: 4.656 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/1.046, allocations: 219.7 kB / 1.489 GB, free: 4.441 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/1.048, allocations: 1.658 MB / 1.491 GB, free: 2.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/1.049, allocations: 121.3 kB / 1.491 GB, free: 2.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/1.049, allocations: 43.97 kB / 1.491 GB, free: 2.477 MB / 1.17 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.0004553/1.049, allocations: 321.7 kB / 1.492 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.049, allocations: 127.2 kB / 1.492 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/1.052, allocations: 1.501 MB / 1.493 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.052, allocations: 12 kB / 1.493 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.052, allocations: 0 / 1.493 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.052, allocations: 11.91 kB / 1.493 GB, free: 488 kB / 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 postOpt removeSimpleEquations (simulation): time 0.004506/1.057, allocations: 2.847 MB / 1.496 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.057, allocations: 0 / 1.496 GB, free: 13.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/1.058, allocations: 203.9 kB / 1.496 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/1.058, allocations: 72.73 kB / 1.496 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/1.058, allocations: 31.97 kB / 1.496 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/1.06, allocations: 1.689 MB / 1.498 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.06, allocations: 0 / 1.498 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/1.064, allocations: 1.867 MB / 1.5 GB, free: 9.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/1.064, allocations: 355.9 kB / 1.5 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.064, allocations: 28 kB / 1.5 GB, free: 9.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/1.065, allocations: 71.92 kB / 1.5 GB, free: 9.016 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.065, allocations: 92.75 kB / 1.5 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/1.065, allocations: 51.97 kB / 1.5 GB, free: 8.875 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008503/1.066, allocations: 0.6261 MB / 1.501 GB, free: 8.238 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.066, allocations: 3.938 kB / 1.501 GB, free: 8.234 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001071/1.067, allocations: 458.9 kB / 1.501 GB, free: 7.785 MB / 1.186 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.005696/1.073, allocations: 3.037 MB / 1.504 GB, free: 4.895 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.075, allocations: 1.027 MB / 1.505 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.075, allocations: 0 / 1.505 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.076, allocations: 0.6294 MB / 1.506 GB, free: 3.215 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/1.078, allocations: 0.5296 MB / 1.506 GB, free: 2.703 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.092, allocations: 8.803 MB / 1.515 GB, free: 9.703 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/1.093, allocations: 1.158 MB / 1.516 GB, free: 8.516 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001095/1.094, allocations: 365.7 kB / 1.517 GB, free: 8.156 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/1.095, allocations: 0.5304 MB / 1.517 GB, free: 7.625 MB / 1.201 GB Notification: Performance of SimCode: time 5.72e-07/1.095, allocations: 4 kB / 1.517 GB, free: 7.621 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/1.171, allocations: 33.41 MB / 1.55 GB, free: 6.582 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.81, allocations: 10.31 kB / 1.55 GB, free: 6.574 MB / 1.232 GB " [Timeout remaining time 286] (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: 21.067955407997943]