Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.0008116/0.0008116, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.001386/0.001386, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8642/0.8642, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.709/1.709, allocations: 389 MB / 0.6338 GB, free: 12.67 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: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.838e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6253/0.6253, allocations: 155.3 MB / 1.153 GB, free: 2.691 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.64, allocations: 14.75 MB / 1.167 GB, free: 8.754 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6413, allocations: 39.22 kB / 1.167 GB, free: 8.734 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.6427, allocations: 0.6071 MB / 1.168 GB, free: 8.367 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003999/0.6467, allocations: 1.705 MB / 1.169 GB, free: 7.383 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.6504, allocations: 1.748 MB / 1.171 GB, free: 6.449 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.6534, allocations: 3.001 MB / 1.174 GB, free: 4.93 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.655, allocations: 1.393 MB / 1.175 GB, free: 4.203 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.6581, allocations: 2.161 MB / 1.177 GB, free: 3.277 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009556/0.6591, allocations: 0.8773 MB / 1.178 GB, free: 2.961 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.6593, allocations: 207.4 kB / 1.178 GB, free: 2.961 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.6616, allocations: 1.286 MB / 1.18 GB, free: 2.57 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004672/0.662, allocations: 0.61 MB / 1.18 GB, free: 2.203 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.6626, allocations: 0.7312 MB / 1.181 GB, free: 1.863 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003293/0.6659, allocations: 3.282 MB / 1.184 GB, free: 0.582 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6659, allocations: 0 / 1.184 GB, free: 0.582 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6659, allocations: 1.25 kB / 1.184 GB, free: 0.582 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.666, allocations: 0 / 1.184 GB, free: 0.582 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002856/0.6688, allocations: 2.331 MB / 1.186 GB, free: 15.13 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6689, allocations: 10.25 kB / 1.186 GB, free: 15.13 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.6713, allocations: 0.6099 MB / 1.187 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.6729, allocations: 1.095 MB / 1.188 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.673, allocations: 123.5 kB / 1.188 GB, free: 14.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.6732, allocations: 163 kB / 1.188 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.6761, allocations: 2.498 MB / 1.191 GB, free: 12.63 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.6761, allocations: 3.281 kB / 1.191 GB, free: 12.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.6762, allocations: 71.61 kB / 1.191 GB, free: 12.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.6763, allocations: 44.09 kB / 1.191 GB, free: 12.58 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.6787, allocations: 1.832 MB / 1.193 GB, free: 12.07 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.6847, allocations: 4.538 MB / 1.197 GB, free: 9.156 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.6869, allocations: 1.443 MB / 1.199 GB, free: 8.438 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.6877, allocations: 0.5867 MB / 1.199 GB, free: 8.133 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.688, allocations: 86.97 kB / 1.199 GB, free: 8.102 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.6893, allocations: 1.36 MB / 1.201 GB, free: 6.965 MB / 1.042 GB Notification: Performance of pre-optimization done (n=134): time 3.537e-06/0.6893, allocations: 4 kB / 1.201 GB, free: 6.961 MB / 1.042 GB Notification: Performance of matching and sorting (n=134): time 0.003412/0.6927, allocations: 1.997 MB / 1.203 GB, free: 5.984 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.6928, allocations: 210.4 kB / 1.203 GB, free: 5.754 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.6936, allocations: 0.8405 MB / 1.204 GB, free: 5.262 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/0.6937, allocations: 60.64 kB / 1.204 GB, free: 5.207 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.6941, allocations: 0.6843 MB / 1.204 GB, free: 4.602 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.6943, allocations: 459.6 kB / 1.205 GB, free: 4.203 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.6946, allocations: 251.1 kB / 1.205 GB, free: 4.051 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6947, allocations: 359.9 kB / 1.205 GB, free: 3.707 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/0.6954, allocations: 0.5145 MB / 1.206 GB, free: 3.449 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.6963, allocations: 0.8806 MB / 1.207 GB, free: 2.785 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.6978, allocations: 1.168 MB / 1.208 GB, free: 2.152 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6978, allocations: 0 / 1.208 GB, free: 2.152 MB / 1.042 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002346/0.7002, allocations: 1.507 MB / 1.209 GB, free: 1.395 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7002, allocations: 5.344 kB / 1.209 GB, free: 1.395 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.7002, allocations: 2.219 kB / 1.209 GB, free: 1.395 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.7005, allocations: 90.83 kB / 1.209 GB, free: 1.348 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.7013, allocations: 318 kB / 1.21 GB, free: 1.266 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.7027, allocations: 1.52 MB / 1.211 GB, free: 15.82 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.7034, allocations: 142 kB / 1.211 GB, free: 15.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.7035, allocations: 58.7 kB / 1.211 GB, free: 15.71 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (157): * Single equations (assignments): 156 * 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.0005194/0.704, allocations: 397.6 kB / 1.212 GB, free: 15.41 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.7041, allocations: 135.3 kB / 1.212 GB, free: 15.34 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.7064, allocations: 1.717 MB / 1.214 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.7064, allocations: 17.36 kB / 1.214 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.7065, allocations: 0 / 1.214 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.7065, allocations: 10.73 kB / 1.214 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.7103, allocations: 3.059 MB / 1.217 GB, free: 12.49 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7103, allocations: 0 / 1.217 GB, free: 12.49 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.711, allocations: 294.1 kB / 1.217 GB, free: 12.42 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.7112, allocations: 76.47 kB / 1.217 GB, free: 12.38 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.7113, allocations: 42.45 kB / 1.217 GB, free: 12.35 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.7124, allocations: 1.551 MB / 1.218 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7124, allocations: 0 / 1.218 GB, free: 10.88 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.7155, allocations: 2.373 MB / 1.221 GB, free: 9.605 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.7159, allocations: 320.8 kB / 1.221 GB, free: 9.371 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.716, allocations: 28.16 kB / 1.221 GB, free: 9.352 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.7166, allocations: 102.7 kB / 1.221 GB, free: 9.301 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.7168, allocations: 106 kB / 1.221 GB, free: 9.195 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.111e-05/0.7169, allocations: 59.89 kB / 1.221 GB, free: 9.137 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0005069/0.7174, allocations: 0.5821 MB / 1.222 GB, free: 8.543 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7174, allocations: 0 / 1.222 GB, free: 8.543 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001353/0.7187, allocations: 0.5921 MB / 1.223 GB, free: 7.949 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (144): * Single equations (assignments): 133 * 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.001377/0.7201, allocations: 0.746 MB / 1.223 GB, free: 7.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.722, allocations: 1.373 MB / 1.225 GB, free: 6.023 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.722, allocations: 0.5 kB / 1.225 GB, free: 6.023 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0009037/0.7229, allocations: 0.7753 MB / 1.225 GB, free: 5.238 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.7241, allocations: 496.6 kB / 1.226 GB, free: 4.77 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.7281, allocations: 2.995 MB / 1.229 GB, free: 1.73 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.7286, allocations: 0.7279 MB / 1.229 GB, free: 0.9648 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.729, allocations: 176.4 kB / 1.23 GB, free: 0.793 MB / 1.057 GB Notification: Performance of SimCode: time 9.92e-07/0.729, allocations: 0 / 1.23 GB, free: 0.793 MB / 1.057 GB Notification: Performance of Templates: time 0.03048/0.7595, allocations: 32.75 MB / 1.262 GB, free: 144 kB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 10.937336238101125]