Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007261/0.0007261, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007784/0.0007784, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8441/0.8441, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.648/1.648, allocations: 377.9 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.048e-05, allocations: 6.219 kB / 0.981 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5627/0.5627, allocations: 155.7 MB / 1.133 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.5739, allocations: 10.29 MB / 1.143 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.5751, allocations: 47.03 kB / 1.143 GB, free: 1.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.5762, allocations: 431.2 kB / 1.144 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.579, allocations: 1.161 MB / 1.145 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.5827, allocations: 1.785 MB / 1.146 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002966/0.5856, allocations: 2.469 MB / 1.149 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.5872, allocations: 1.119 MB / 1.15 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.5909, allocations: 1.866 MB / 1.152 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.5919, allocations: 0.6685 MB / 1.152 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.5921, allocations: 164.7 kB / 1.153 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.5944, allocations: 1.285 MB / 1.154 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.5947, allocations: 487.5 kB / 1.154 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.5954, allocations: 0.5531 MB / 1.155 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.5987, allocations: 2.797 MB / 1.158 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5987, allocations: 0 / 1.158 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5987, allocations: 3.938 kB / 1.158 GB, free: 8.098 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.253e-05/0.5987, allocations: 0 / 1.158 GB, free: 8.098 MB / 0.9948 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.002592/0.6013, allocations: 1.899 MB / 1.159 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6014, allocations: 11.81 kB / 1.159 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.6015, allocations: 185.5 kB / 1.16 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.6029, allocations: 409.7 kB / 1.16 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.6041, allocations: 0.9294 MB / 1.161 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.6041, allocations: 93.09 kB / 1.161 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.6042, allocations: 130.4 kB / 1.161 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.6058, allocations: 1.707 MB / 1.163 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6058, allocations: 3.938 kB / 1.163 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.6059, allocations: 47.56 kB / 1.163 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.6059, allocations: 28.81 kB / 1.163 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.6074, allocations: 1.414 MB / 1.164 GB, free: 3.484 MB / 0.9948 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.003825/0.6112, allocations: 3.206 MB / 1.167 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.6126, allocations: 1.121 MB / 1.168 GB, free: 228 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.6131, allocations: 431.7 kB / 1.169 GB, free: 15.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.6134, allocations: 112.9 kB / 1.169 GB, free: 15.68 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007879/0.6142, allocations: 0.9061 MB / 1.17 GB, free: 14.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 2.925e-06/0.6142, allocations: 3.938 kB / 1.17 GB, free: 14.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002393/0.6166, allocations: 1.586 MB / 1.171 GB, free: 13.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.6166, allocations: 200.9 kB / 1.172 GB, free: 12.87 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008469/0.6175, allocations: 0.919 MB / 1.173 GB, free: 11.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.66e-05/0.6176, allocations: 53.7 kB / 1.173 GB, free: 11.87 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.6179, allocations: 0.5249 MB / 1.173 GB, free: 11.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.6181, allocations: 392.7 kB / 1.173 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6183, allocations: 210.9 kB / 1.174 GB, free: 10.74 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.6184, allocations: 345.9 kB / 1.174 GB, free: 10.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.6188, allocations: 386.4 kB / 1.174 GB, free: 10.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.6194, allocations: 0.7074 MB / 1.175 GB, free: 9.234 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/0.6204, allocations: 0.8923 MB / 1.176 GB, free: 8.324 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6204, allocations: 0 / 1.176 GB, free: 8.324 MB / 1.01 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001535/0.622, allocations: 1.208 MB / 1.177 GB, free: 7.105 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.622, allocations: 10.66 kB / 1.177 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.622, allocations: 0 / 1.177 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/0.6223, allocations: 88.86 kB / 1.177 GB, free: 7.008 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.6228, allocations: 231.6 kB / 1.177 GB, free: 6.781 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.6241, allocations: 1.527 MB / 1.179 GB, free: 5.137 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.6246, allocations: 131.1 kB / 1.179 GB, free: 5.008 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.6246, allocations: 56.03 kB / 1.179 GB, free: 4.953 MB / 1.01 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.0004034/0.625, allocations: 328.9 kB / 1.179 GB, free: 4.621 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.6252, allocations: 131.1 kB / 1.18 GB, free: 4.492 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.627, allocations: 1.553 MB / 1.181 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.627, allocations: 12 kB / 1.181 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.627, allocations: 0 / 1.181 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.627, allocations: 11.91 kB / 1.181 GB, free: 2.887 MB / 1.01 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.002999/0.63, allocations: 2.682 MB / 1.184 GB, free: 128 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.63, allocations: 4.188 kB / 1.184 GB, free: 124 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004554/0.6304, allocations: 203.7 kB / 1.184 GB, free: 15.92 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/0.6306, allocations: 72.78 kB / 1.184 GB, free: 15.85 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-05/0.6307, allocations: 39.97 kB / 1.184 GB, free: 15.81 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.6317, allocations: 1.559 MB / 1.185 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6317, allocations: 7.875 kB / 1.186 GB, free: 14.12 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.6338, allocations: 1.915 MB / 1.187 GB, free: 12.17 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.6342, allocations: 274.7 kB / 1.188 GB, free: 11.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6343, allocations: 39.94 kB / 1.188 GB, free: 11.86 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.6347, allocations: 78.59 kB / 1.188 GB, free: 11.79 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6349, allocations: 92.83 kB / 1.188 GB, free: 11.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.6349, allocations: 47.97 kB / 1.188 GB, free: 11.65 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005767/0.6355, allocations: 0.6462 MB / 1.189 GB, free: 11 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6355, allocations: 0 / 1.189 GB, free: 11 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008581/0.6364, allocations: 470.9 kB / 1.189 GB, free: 10.54 MB / 1.026 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 (122): * Single equations (assignments): 111 * 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.00334/0.6397, allocations: 3.116 MB / 1.192 GB, free: 7.578 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.6411, allocations: 1.071 MB / 1.193 GB, free: 6.488 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6411, allocations: 4 kB / 1.193 GB, free: 6.484 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.6418, allocations: 0.6373 MB / 1.194 GB, free: 5.836 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.643, allocations: 0.5397 MB / 1.194 GB, free: 5.312 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009235/0.6522, allocations: 9.099 MB / 1.203 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.6526, allocations: 0.5844 MB / 1.204 GB, free: 11.4 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.000791/0.6534, allocations: 378.2 kB / 1.204 GB, free: 11.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/0.6539, allocations: 0.5432 MB / 1.205 GB, free: 10.48 MB / 1.042 GB Notification: Performance of SimCode: time 1.042e-06/0.6539, allocations: 0 / 1.205 GB, free: 10.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04537/0.6993, allocations: 36.88 MB / 1.241 GB, free: 6.176 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.071, allocations: 11.2 kB / 1.241 GB, free: 6.168 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.242480111308396]