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.001415/0.001415, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001486/0.001486, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.458/1.458, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.9/2.9, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] 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.513e-06/1.513e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.745e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.8117/0.8118, allocations: 155.3 MB / 1.152 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.8344, allocations: 14.73 MB / 1.166 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.8367, allocations: 41.62 kB / 1.166 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.8389, allocations: 0.603 MB / 1.167 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.8448, allocations: 1.718 MB / 1.168 GB, free: 44.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005117/0.85, allocations: 1.738 MB / 1.17 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.8544, allocations: 3.01 MB / 1.173 GB, free: 44.08 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.8567, allocations: 1.393 MB / 1.174 GB, free: 43.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006522/0.8633, allocations: 2.163 MB / 1.177 GB, free: 43.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.8649, allocations: 0.8723 MB / 1.177 GB, free: 43.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.8654, allocations: 209.7 kB / 1.178 GB, free: 43.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.8694, allocations: 1.285 MB / 1.179 GB, free: 43.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006716/0.87, allocations: 0.6081 MB / 1.18 GB, free: 43.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.8714, allocations: 0.7272 MB / 1.18 GB, free: 43.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007515/0.8789, allocations: 3.288 MB / 1.183 GB, free: 43.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.8789, allocations: 0.6094 kB / 1.183 GB, free: 43.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8789, allocations: 0 / 1.183 GB, free: 43.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001111/0.879, allocations: 2.125 kB / 1.183 GB, free: 43.07 MB / 1.076 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.006851/0.8859, allocations: 2.326 MB / 1.186 GB, free: 41.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.8859, allocations: 10.27 kB / 1.186 GB, free: 41.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.8916, allocations: 0.6045 MB / 1.186 GB, free: 41.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.8947, allocations: 1.09 MB / 1.187 GB, free: 41.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.8948, allocations: 126.9 kB / 1.187 GB, free: 41.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003805/0.8952, allocations: 166.8 kB / 1.188 GB, free: 41.49 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005032/0.9002, allocations: 2.497 MB / 1.19 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/0.9003, allocations: 1.125 kB / 1.19 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.9005, allocations: 71.92 kB / 1.19 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-05/0.9006, allocations: 52.91 kB / 1.19 GB, free: 40.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/0.9051, allocations: 1.826 MB / 1.192 GB, free: 40.06 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.9155, allocations: 4.534 MB / 1.196 GB, free: 37.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.9193, allocations: 1.447 MB / 1.198 GB, free: 36.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.9207, allocations: 0.5902 MB / 1.198 GB, free: 36.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.9212, allocations: 80.34 kB / 1.198 GB, free: 36.76 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002331/0.9235, allocations: 1.364 MB / 1.2 GB, free: 35.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=134): time 3.818e-06/0.9235, allocations: 6.219 kB / 1.2 GB, free: 35.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=134): time 0.006817/0.9303, allocations: 2.001 MB / 1.202 GB, free: 35.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.9304, allocations: 204.9 kB / 1.202 GB, free: 34.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.9322, allocations: 0.8401 MB / 1.203 GB, free: 34.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.9325, allocations: 59 kB / 1.203 GB, free: 34.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.9331, allocations: 0.6946 MB / 1.204 GB, free: 33.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.9335, allocations: 456.3 kB / 1.204 GB, free: 33.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/0.9341, allocations: 248.1 kB / 1.204 GB, free: 33.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9342, allocations: 354.1 kB / 1.205 GB, free: 33.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.9356, allocations: 0.5139 MB / 1.205 GB, free: 33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.9373, allocations: 0.8818 MB / 1.206 GB, free: 32.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.9401, allocations: 1.169 MB / 1.207 GB, free: 31.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9401, allocations: 1.156 kB / 1.207 GB, free: 31.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004323/0.9444, allocations: 1.512 MB / 1.209 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.9444, allocations: 8.094 kB / 1.209 GB, free: 31.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9444, allocations: 2.688 kB / 1.209 GB, free: 31.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.9452, allocations: 86.67 kB / 1.209 GB, free: 31.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.947, allocations: 318.2 kB / 1.209 GB, free: 31.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.9491, allocations: 1.525 MB / 1.21 GB, free: 29.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.9508, allocations: 141.9 kB / 1.211 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.951, allocations: 60.06 kB / 1.211 GB, free: 29.88 MB / 1.076 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.001093/0.9521, allocations: 389.3 kB / 1.211 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.9525, allocations: 134.6 kB / 1.211 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.9569, allocations: 1.716 MB / 1.213 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.9569, allocations: 15.56 kB / 1.213 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.9569, allocations: 3.656 kB / 1.213 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.9569, allocations: 9.531 kB / 1.213 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.964, allocations: 3.073 MB / 1.216 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.964, allocations: 0 / 1.216 GB, free: 27.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.9656, allocations: 287.1 kB / 1.216 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.9661, allocations: 73.69 kB / 1.216 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.9662, allocations: 43.14 kB / 1.216 GB, free: 27.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.968, allocations: 1.538 MB / 1.218 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.968, allocations: 1.859 kB / 1.218 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.9739, allocations: 2.38 MB / 1.22 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.9751, allocations: 317.4 kB / 1.22 GB, free: 24.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.9753, allocations: 35.27 kB / 1.22 GB, free: 24.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.9767, allocations: 100.8 kB / 1.22 GB, free: 24.93 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.977, allocations: 100.4 kB / 1.221 GB, free: 24.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.9772, allocations: 63.25 kB / 1.221 GB, free: 24.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001095/0.9783, allocations: 0.5811 MB / 1.221 GB, free: 24.65 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9783, allocations: 1.094 kB / 1.221 GB, free: 24.65 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002414/0.9807, allocations: 0.5842 MB / 1.222 GB, free: 24.48 MB / 1.076 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.002596/0.9833, allocations: 0.7475 MB / 1.222 GB, free: 24.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.9871, allocations: 1.383 MB / 1.224 GB, free: 23.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.9871, allocations: 3.188 kB / 1.224 GB, free: 23.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.9889, allocations: 0.775 MB / 1.225 GB, free: 23.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.9916, allocations: 487.2 kB / 1.225 GB, free: 23.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.9982, allocations: 2.943 MB / 1.228 GB, free: 21.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9993, allocations: 0.7316 MB / 1.229 GB, free: 21.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002179/1.001, allocations: 423.3 kB / 1.229 GB, free: 21.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006129/1.002, allocations: 159.2 kB / 1.229 GB, free: 21.46 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.002, allocations: 5.188 kB / 1.229 GB, free: 21.46 MB / 1.076 GB Notification: Performance of Templates: time 0.04753/1.05, allocations: 26.2 MB / 1.255 GB, free: 16.45 MB / 1.076 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.60804070532322]