Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001651/0.001651, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.076/1.076, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.939/1.939, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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: 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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.899e-05/4.137e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1539/0.1539, allocations: 151.5 MB / 0.9594 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1686, allocations: 13.55 MB / 0.9727 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009454/0.1695, allocations: 43.62 kB / 0.9727 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.1704, allocations: 412.4 kB / 0.9731 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.1728, allocations: 1.297 MB / 0.9744 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.1755, allocations: 1.48 MB / 0.9758 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.1784, allocations: 2.998 MB / 0.9787 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.1802, allocations: 1.525 MB / 0.9802 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.1832, allocations: 1.91 MB / 0.9821 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009978/0.1842, allocations: 0.8724 MB / 0.983 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.1845, allocations: 204 kB / 0.9831 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.1862, allocations: 0.893 MB / 0.984 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.1865, allocations: 0.6191 MB / 0.9846 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.1872, allocations: 0.7248 MB / 0.9853 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.1895, allocations: 2.195 MB / 0.9875 GB, free: 13.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1895, allocations: 0 / 0.9875 GB, free: 13.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1895, allocations: 0 / 0.9875 GB, free: 13.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.233e-05/0.1895, allocations: 0 / 0.9875 GB, free: 13.04 MB / 0.948 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.002842/0.1923, allocations: 2.407 MB / 0.9898 GB, free: 10.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1924, allocations: 8.031 kB / 0.9898 GB, free: 10.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.1944, allocations: 0.7274 MB / 0.9905 GB, free: 9.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.1959, allocations: 1.095 MB / 0.9916 GB, free: 8.695 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-05/0.196, allocations: 123.2 kB / 0.9917 GB, free: 8.574 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.1962, allocations: 171.9 kB / 0.9919 GB, free: 8.406 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.1982, allocations: 2.037 MB / 0.9939 GB, free: 6.109 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.1982, allocations: 3.938 kB / 0.9939 GB, free: 6.105 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/0.1984, allocations: 72 kB / 0.994 GB, free: 6.035 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-05/0.1985, allocations: 44 kB / 0.994 GB, free: 5.992 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1999, allocations: 1.142 MB / 0.9951 GB, free: 4.844 MB / 0.948 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.005224/0.2052, allocations: 4.868 MB / 0.9999 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2064, allocations: 0.7751 MB / 1.001 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.2068, allocations: 323 kB / 1.001 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.2071, allocations: 113.2 kB / 1.001 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/0.2081, allocations: 1.068 MB / 1.002 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=134): time 2.685e-06/0.2081, allocations: 0 / 1.002 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=134): time 0.002308/0.2104, allocations: 1.266 MB / 1.003 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.2105, allocations: 209.2 kB / 1.004 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.2112, allocations: 0.796 MB / 1.004 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.2113, allocations: 61.7 kB / 1.004 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/0.212, allocations: 0.7345 MB / 1.005 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2123, allocations: 456.1 kB / 1.006 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.2126, allocations: 256.5 kB / 1.006 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.2127, allocations: 0.5199 MB / 1.006 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.2131, allocations: 226.5 kB / 1.006 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.2136, allocations: 0.6211 MB / 1.007 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008284/0.2145, allocations: 0.625 MB / 1.008 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2145, allocations: 7.938 kB / 1.008 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001473/0.2159, allocations: 0.9956 MB / 1.009 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.216, allocations: 4 kB / 1.009 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.216, allocations: 4 kB / 1.009 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.2164, allocations: 127.7 kB / 1.009 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.2172, allocations: 315.5 kB / 1.009 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.2186, allocations: 1.91 MB / 1.011 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.2191, allocations: 110.4 kB / 1.011 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.2191, allocations: 59.95 kB / 1.011 GB, free: 3.785 MB / 0.9636 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.0006376/0.2198, allocations: 243 kB / 1.011 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.22, allocations: 175.2 kB / 1.012 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.2216, allocations: 1.198 MB / 1.013 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2216, allocations: 15.98 kB / 1.013 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2216, allocations: 0 / 1.013 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2216, allocations: 11.97 kB / 1.013 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.2246, allocations: 2.441 MB / 1.015 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2246, allocations: 3.938 kB / 1.015 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.2252, allocations: 267.7 kB / 1.015 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.2256, allocations: 123.5 kB / 1.015 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.294e-05/0.2256, allocations: 39.97 kB / 1.016 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.2267, allocations: 1.918 MB / 1.017 GB, free: 13.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2267, allocations: 4.031 kB / 1.017 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.2289, allocations: 1.471 MB / 1.019 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.2293, allocations: 314.6 kB / 1.019 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2294, allocations: 36.02 kB / 1.019 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.2299, allocations: 74.16 kB / 1.019 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.23, allocations: 97.12 kB / 1.019 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.679e-05/0.2301, allocations: 59.95 kB / 1.019 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004537/0.2305, allocations: 0.508 MB / 1.02 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.2305, allocations: 4.031 kB / 1.02 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001046/0.2316, allocations: 0.5883 MB / 1.02 GB, free: 9.965 MB / 0.9792 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 (145): * Single equations (assignments): 134 * 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.001392/0.233, allocations: 0.6958 MB / 1.021 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.2342, allocations: 0.9317 MB / 1.022 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2343, allocations: 0.5 kB / 1.022 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.2349, allocations: 0.6204 MB / 1.023 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.2361, allocations: 0.5449 MB / 1.023 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.2399, allocations: 2.668 MB / 1.026 GB, free: 4.605 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2401, allocations: 312.8 kB / 1.026 GB, free: 4.273 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007989/0.2409, allocations: 389.9 kB / 1.026 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.2412, allocations: 160.4 kB / 1.027 GB, free: 3.734 MB / 0.9792 GB Notification: Performance of SimCode: time 8.32e-07/0.2412, allocations: 0 / 1.027 GB, free: 3.734 MB / 0.9792 GB Notification: Performance of Templates: time 0.4505/0.6917, allocations: 25.27 MB / 1.051 GB, free: 123 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.948493648786098]