Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007468/0.0007468, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007906/0.0007906, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8137/0.8137, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.679/1.679, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 4 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.133e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5714/0.5714, allocations: 155.7 MB / 1.152 GB, free: 2.367 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.5844, allocations: 10.29 MB / 1.162 GB, free: 11.42 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.5861, allocations: 42.94 kB / 1.162 GB, free: 11.4 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.5876, allocations: 436.6 kB / 1.162 GB, free: 11.11 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003616/0.5912, allocations: 1.146 MB / 1.163 GB, free: 10.44 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.5956, allocations: 1.786 MB / 1.165 GB, free: 9.512 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003678/0.5993, allocations: 2.442 MB / 1.167 GB, free: 8.273 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.6013, allocations: 1.051 MB / 1.168 GB, free: 7.734 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.6064, allocations: 1.858 MB / 1.17 GB, free: 6.902 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.6081, allocations: 0.6718 MB / 1.171 GB, free: 6.66 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0004948/0.6086, allocations: 162.6 kB / 1.171 GB, free: 6.66 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.6117, allocations: 1.282 MB / 1.172 GB, free: 6.266 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006706/0.6123, allocations: 496.4 kB / 1.173 GB, free: 5.969 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.6134, allocations: 0.5486 MB / 1.173 GB, free: 5.707 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.6188, allocations: 2.795 MB / 1.176 GB, free: 4.621 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6188, allocations: 0.5625 kB / 1.176 GB, free: 4.621 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6188, allocations: 0 / 1.176 GB, free: 4.621 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.911e-05/0.6189, allocations: 0 / 1.176 GB, free: 4.621 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004127/0.623, allocations: 1.903 MB / 1.178 GB, free: 3.402 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6231, allocations: 13.69 kB / 1.178 GB, free: 3.402 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.6233, allocations: 180.9 kB / 1.178 GB, free: 3.285 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.6251, allocations: 410.8 kB / 1.179 GB, free: 3.176 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.6272, allocations: 0.9243 MB / 1.179 GB, free: 2.633 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.27e-05/0.6273, allocations: 97.7 kB / 1.18 GB, free: 2.586 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.6274, allocations: 126.1 kB / 1.18 GB, free: 2.543 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.6296, allocations: 1.694 MB / 1.181 GB, free: 1.496 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6296, allocations: 1.219 kB / 1.181 GB, free: 1.496 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.6297, allocations: 55.39 kB / 1.181 GB, free: 1.457 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.6297, allocations: 28.31 kB / 1.181 GB, free: 1.457 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.6315, allocations: 1.408 MB / 1.183 GB, free: 1.082 MB / 1.026 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.005128/0.6366, allocations: 3.202 MB / 1.186 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6382, allocations: 1.117 MB / 1.187 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.6388, allocations: 439.9 kB / 1.187 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.6391, allocations: 109.7 kB / 1.187 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.6402, allocations: 0.9054 MB / 1.188 GB, free: 14.19 MB / 1.042 GB Notification: Performance of pre-optimization done (n=114): time 2.965e-06/0.6402, allocations: 0 / 1.188 GB, free: 14.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=114): time 0.002842/0.6431, allocations: 1.577 MB / 1.19 GB, free: 13.62 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.6432, allocations: 206.9 kB / 1.19 GB, free: 13.39 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.6443, allocations: 0.9046 MB / 1.191 GB, free: 13.01 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.6445, allocations: 57.64 kB / 1.191 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.6449, allocations: 0.5228 MB / 1.192 GB, free: 12.55 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.6451, allocations: 387.6 kB / 1.192 GB, free: 12.24 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.6454, allocations: 216 kB / 1.192 GB, free: 12.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.6455, allocations: 351.1 kB / 1.192 GB, free: 11.82 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.646, allocations: 383.5 kB / 1.193 GB, free: 11.68 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.6467, allocations: 0.7066 MB / 1.194 GB, free: 11.2 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.6481, allocations: 0.8897 MB / 1.194 GB, free: 10.79 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6481, allocations: 1.062 kB / 1.194 GB, free: 10.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002033/0.6502, allocations: 1.206 MB / 1.196 GB, free: 10.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.6502, allocations: 10.12 kB / 1.196 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6502, allocations: 2.781 kB / 1.196 GB, free: 10.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.6505, allocations: 84.39 kB / 1.196 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.6511, allocations: 226.2 kB / 1.196 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.6525, allocations: 1.537 MB / 1.197 GB, free: 8.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.6533, allocations: 135.1 kB / 1.198 GB, free: 8.727 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.6534, allocations: 45.34 kB / 1.198 GB, free: 8.711 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (133): * Single equations (assignments): 132 * 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.0006509/0.6541, allocations: 328.5 kB / 1.198 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.6543, allocations: 125.4 kB / 1.198 GB, free: 8.402 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6564, allocations: 1.553 MB / 1.2 GB, free: 7.512 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.6564, allocations: 17.16 kB / 1.2 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.6564, allocations: 0 / 1.2 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.6564, allocations: 3.984 kB / 1.2 GB, free: 7.504 MB / 1.042 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.003575/0.66, allocations: 2.662 MB / 1.202 GB, free: 5.816 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.66, allocations: 10.94 kB / 1.202 GB, free: 5.809 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.6605, allocations: 198.4 kB / 1.202 GB, free: 5.766 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.6607, allocations: 73.09 kB / 1.202 GB, free: 5.73 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.6607, allocations: 40.97 kB / 1.202 GB, free: 5.703 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.6619, allocations: 1.556 MB / 1.204 GB, free: 4.219 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6619, allocations: 3.938 kB / 1.204 GB, free: 4.215 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.6645, allocations: 1.909 MB / 1.206 GB, free: 3.152 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/0.6651, allocations: 284.7 kB / 1.206 GB, free: 2.941 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.6653, allocations: 30.22 kB / 1.206 GB, free: 2.922 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.6658, allocations: 86.94 kB / 1.206 GB, free: 2.875 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.6659, allocations: 95.52 kB / 1.206 GB, free: 2.812 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.666, allocations: 48.25 kB / 1.206 GB, free: 2.797 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006658/0.6667, allocations: 0.6418 MB / 1.207 GB, free: 2.426 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6667, allocations: 3.938 kB / 1.207 GB, free: 2.422 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001223/0.6679, allocations: 469.9 kB / 1.207 GB, free: 2.293 MB / 1.042 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003716/0.6716, allocations: 3.11 MB / 1.21 GB, free: 456 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.6733, allocations: 1.082 MB / 1.212 GB, free: 15.89 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6733, allocations: 4.828 kB / 1.212 GB, free: 15.89 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.674, allocations: 0.6325 MB / 1.212 GB, free: 15.54 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6757, allocations: 0.5035 MB / 1.213 GB, free: 15.27 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.6879, allocations: 9.079 MB / 1.221 GB, free: 8.012 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.6884, allocations: 0.5762 MB / 1.222 GB, free: 7.402 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001061/0.6894, allocations: 382.2 kB / 1.222 GB, free: 7.023 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.6901, allocations: 0.5354 MB / 1.223 GB, free: 6.488 MB / 1.057 GB Notification: Performance of SimCode: time 1.513e-06/0.6901, allocations: 4 kB / 1.223 GB, free: 6.484 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05591/0.746, allocations: 36.61 MB / 1.259 GB, free: 2.355 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/9.352, allocations: 0 / 1.259 GB, free: 2.355 MB / 1.089 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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: 14.560521894134581]