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.001528/0.001528, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001719/0.001719, allocations: 181 kB / 23.36 MB, free: 1.133 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.9483/0.9483, allocations: 177.1 MB / 203.8 MB, free: 5.473 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 2.438/2.438, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..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.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..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.633e-06/1.633e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.257e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1319/0.1319, allocations: 150.8 MB / 0.9859 GB, free: 6.797 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1454, allocations: 13.7 MB / 0.9992 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.1462, allocations: 35.69 kB / 0.9993 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.147, allocations: 400.6 kB / 0.9996 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.1492, allocations: 1.324 MB / 1.001 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.1516, allocations: 1.445 MB / 1.002 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002658/0.1542, allocations: 2.975 MB / 1.005 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.1564, allocations: 1.671 MB / 1.007 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.1585, allocations: 1.856 MB / 1.009 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.1593, allocations: 0.8217 MB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.1595, allocations: 196 kB / 1.01 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1609, allocations: 0.9242 MB / 1.011 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.1612, allocations: 0.5996 MB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.1619, allocations: 0.7054 MB / 1.012 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.1638, allocations: 2.18 MB / 1.014 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1638, allocations: 0 / 1.014 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1638, allocations: 0 / 1.014 GB, free: 9.953 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.1639, allocations: 0 / 1.014 GB, free: 9.953 MB / 0.9792 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.001927/0.1658, allocations: 2.222 MB / 1.016 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1658, allocations: 8.625 kB / 1.016 GB, free: 7.68 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.1679, allocations: 0.7791 MB / 1.017 GB, free: 6.898 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1689, allocations: 0.8658 MB / 1.018 GB, free: 5.977 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.169, allocations: 123.2 kB / 1.018 GB, free: 5.855 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.1692, allocations: 183.8 kB / 1.018 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1706, allocations: 1.869 MB / 1.02 GB, free: 3.586 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.1706, allocations: 7.938 kB / 1.02 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.079e-05/0.1707, allocations: 71.98 kB / 1.02 GB, free: 3.508 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.1708, allocations: 44 kB / 1.02 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000957/0.1717, allocations: 0.8682 MB / 1.021 GB, free: 2.582 MB / 0.9792 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.003727/0.1755, allocations: 3.485 MB / 1.024 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.1763, allocations: 0.6469 MB / 1.025 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.1767, allocations: 247.7 kB / 1.025 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.1768, allocations: 57.27 kB / 1.025 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006437/0.1775, allocations: 1.021 MB / 1.026 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=134): time 2.275e-06/0.1775, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=134): time 0.001541/0.179, allocations: 0.8696 MB / 1.027 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.1791, allocations: 209.2 kB / 1.027 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1796, allocations: 0.7383 MB / 1.028 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.1797, allocations: 57.69 kB / 1.028 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.18, allocations: 0.5849 MB / 1.029 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.1803, allocations: 460 kB / 1.029 GB, free: 9.895 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.1805, allocations: 259.3 kB / 1.029 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1806, allocations: 361.8 kB / 1.03 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.1809, allocations: 158.7 kB / 1.03 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.1813, allocations: 0.4995 MB / 1.03 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.182, allocations: 0.618 MB / 1.031 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.182, allocations: 7.938 kB / 1.031 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001068/0.183, allocations: 0.731 MB / 1.032 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1831, allocations: 7.938 kB / 1.032 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1831, allocations: 11.94 kB / 1.032 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/0.1837, allocations: 128.8 kB / 1.032 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/0.1846, allocations: 387.5 kB / 1.032 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1857, allocations: 1.325 MB / 1.033 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/0.1902, allocations: 139.2 kB / 1.034 GB, free: 5.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.1904, allocations: 47.98 kB / 1.034 GB, free: 4.973 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (169): * Single equations (assignments): 168 * 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.0007007/0.1911, allocations: 206.9 kB / 1.034 GB, free: 4.758 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/0.1914, allocations: 127.9 kB / 1.034 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.1936, allocations: 0.8789 MB / 1.035 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.1936, allocations: 16 kB / 1.035 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1936, allocations: 3.938 kB / 1.035 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.1936, allocations: 11.97 kB / 1.035 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/0.1976, allocations: 1.693 MB / 1.036 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1976, allocations: 0 / 1.036 GB, free: 1.973 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.1991, allocations: 326.5 kB / 1.037 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005435/0.1996, allocations: 112.8 kB / 1.037 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.1997, allocations: 31.91 kB / 1.037 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.2012, allocations: 1.333 MB / 1.038 GB, free: 84 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2012, allocations: 0 / 1.038 GB, free: 84 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.2034, allocations: 1.037 MB / 1.039 GB, free: 15.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.204, allocations: 226.6 kB / 1.039 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.2042, allocations: 36.03 kB / 1.039 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.205, allocations: 67.94 kB / 1.039 GB, free: 14.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.2052, allocations: 101.1 kB / 1.04 GB, free: 14.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.2053, allocations: 43.95 kB / 1.04 GB, free: 14.55 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005094/0.2058, allocations: 359 kB / 1.04 GB, free: 14.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2058, allocations: 0 / 1.04 GB, free: 14.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001595/0.2074, allocations: 0.5844 MB / 1.041 GB, free: 13.61 MB / 1.01 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.00243/0.2099, allocations: 0.8095 MB / 1.041 GB, free: 13.06 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.2116, allocations: 0.7607 MB / 1.042 GB, free: 12.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.498e-05/0.2117, allocations: 12.81 kB / 1.042 GB, free: 12.28 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008689/0.2125, allocations: 0.4895 MB / 1.043 GB, free: 11.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.2144, allocations: 0.5222 MB / 1.043 GB, free: 11.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/0.2197, allocations: 2.635 MB / 1.046 GB, free: 8.582 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.22, allocations: 317 kB / 1.046 GB, free: 8.246 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001412/0.2214, allocations: 310.4 kB / 1.046 GB, free: 7.938 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/0.223, allocations: 0.5184 MB / 1.047 GB, free: 7.414 MB / 1.01 GB Notification: Performance of SimCode: time 1.653e-06/0.223, allocations: 0 / 1.047 GB, free: 7.414 MB / 1.01 GB Notification: Performance of Templates: time 0.4184/0.6414, allocations: 28.17 MB / 1.074 GB, free: 77.88 MB / 1.01 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.884058333002031]