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.001119/0.001119, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.0009918/0.0009918, allocations: 173 kB / 23.02 MB, free: 1.547 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.119/1.119, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.314e-06/2.314e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.935e-05/4.167e-05, allocations: 5.938 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1641/0.1641, allocations: 151.5 MB / 1.026 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.1828, allocations: 13.66 MB / 1.039 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.1848, allocations: 39.69 kB / 1.039 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.1863, allocations: 400.5 kB / 1.04 GB, free: 208 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.1906, allocations: 1.367 MB / 1.041 GB, free: 14.83 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.1947, allocations: 1.465 MB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004477/0.1992, allocations: 2.979 MB / 1.046 GB, free: 10.37 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002719/0.2019, allocations: 1.442 MB / 1.047 GB, free: 8.875 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005264/0.2072, allocations: 2.017 MB / 1.049 GB, free: 6.945 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.2087, allocations: 0.8374 MB / 1.05 GB, free: 6.105 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0007676/0.2095, allocations: 192 kB / 1.05 GB, free: 5.918 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.2118, allocations: 0.9007 MB / 1.051 GB, free: 5.016 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.2124, allocations: 0.5919 MB / 1.051 GB, free: 4.422 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.2136, allocations: 0.7092 MB / 1.052 GB, free: 3.711 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.2179, allocations: 2.18 MB / 1.054 GB, free: 1.523 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.2179, allocations: 7.938 kB / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.986e-06/0.2179, allocations: 0 / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001003/0.218, allocations: 3.984 kB / 1.054 GB, free: 1.512 MB / 1.01 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.622/0.84, allocations: 2.373 MB / 1.056 GB, free: 74.06 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.8401, allocations: 8.531 kB / 1.057 GB, free: 74.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/0.8431, allocations: 0.8204 MB / 1.057 GB, free: 73.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.8453, allocations: 1.092 MB / 1.058 GB, free: 73.66 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.8454, allocations: 122.8 kB / 1.058 GB, free: 73.66 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.8456, allocations: 176.3 kB / 1.059 GB, free: 73.66 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.8485, allocations: 2.003 MB / 1.061 GB, free: 72.63 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.93e-05/0.8485, allocations: 6.844 kB / 1.061 GB, free: 72.63 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/0.8487, allocations: 71.84 kB / 1.061 GB, free: 72.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.101e-05/0.8487, allocations: 46.38 kB / 1.061 GB, free: 72.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.8505, allocations: 1.161 MB / 1.062 GB, free: 72.61 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 preOpt removeSimpleEquations (simulation): time 0.006732/0.8573, allocations: 4.872 MB / 1.067 GB, free: 70.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.8588, allocations: 0.8256 MB / 1.067 GB, free: 70.46 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/0.8594, allocations: 347.8 kB / 1.068 GB, free: 70.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.8596, allocations: 58.53 kB / 1.068 GB, free: 70.44 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.8606, allocations: 1.081 MB / 1.069 GB, free: 69.75 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 6.342e-06/0.8606, allocations: 0.9688 kB / 1.069 GB, free: 69.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.003015/0.8636, allocations: 1.311 MB / 1.07 GB, free: 69.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.8637, allocations: 208.5 kB / 1.07 GB, free: 69.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.8646, allocations: 0.8248 MB / 1.071 GB, free: 69.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.8647, allocations: 57.23 kB / 1.071 GB, free: 69.12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.8652, allocations: 0.7568 MB / 1.072 GB, free: 68.82 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.8655, allocations: 472.8 kB / 1.072 GB, free: 68.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.8659, allocations: 274.3 kB / 1.073 GB, free: 68.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.866, allocations: 0.532 MB / 1.073 GB, free: 68.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.8665, allocations: 247.7 kB / 1.073 GB, free: 68.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.8671, allocations: 0.6509 MB / 1.074 GB, free: 67.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.8682, allocations: 0.7772 MB / 1.075 GB, free: 67.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.8682, allocations: 2.812 kB / 1.075 GB, free: 67.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001936/0.8701, allocations: 1.1 MB / 1.076 GB, free: 67.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.8702, allocations: 8.781 kB / 1.076 GB, free: 67.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.8702, allocations: 5.188 kB / 1.076 GB, free: 67.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.8707, allocations: 138.3 kB / 1.076 GB, free: 67.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.8716, allocations: 349.5 kB / 1.076 GB, free: 67.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.8732, allocations: 1.914 MB / 1.078 GB, free: 65.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/0.8741, allocations: 140.8 kB / 1.078 GB, free: 65.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.8742, allocations: 65.97 kB / 1.078 GB, free: 65.37 MB / 1.01 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.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 (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.0006141/0.8749, allocations: 251.9 kB / 1.079 GB, free: 65.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.8752, allocations: 184.2 kB / 1.079 GB, free: 65.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.8771, allocations: 1.217 MB / 1.08 GB, free: 65.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.8771, allocations: 14.81 kB / 1.08 GB, free: 65.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8771, allocations: 0 / 1.08 GB, free: 65.02 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8771, allocations: 9.891 kB / 1.08 GB, free: 65.02 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.8807, allocations: 2.472 MB / 1.082 GB, free: 64.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8807, allocations: 0 / 1.082 GB, free: 64.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/0.8815, allocations: 279.4 kB / 1.083 GB, free: 64.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.8819, allocations: 122.3 kB / 1.083 GB, free: 64.54 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/0.882, allocations: 38.47 kB / 1.083 GB, free: 64.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.883, allocations: 1.918 MB / 1.085 GB, free: 62.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.883, allocations: 7.312 kB / 1.085 GB, free: 62.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.8854, allocations: 1.516 MB / 1.086 GB, free: 62.46 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.8859, allocations: 314.2 kB / 1.087 GB, free: 62.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.886, allocations: 35.08 kB / 1.087 GB, free: 62.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.8866, allocations: 74.75 kB / 1.087 GB, free: 62.37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.8868, allocations: 93.66 kB / 1.087 GB, free: 62.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.8869, allocations: 64.03 kB / 1.087 GB, free: 62.36 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005315/0.8874, allocations: 0.51 MB / 1.087 GB, free: 62.21 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8874, allocations: 0.9844 kB / 1.087 GB, free: 62.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001696/0.8891, allocations: 0.5856 MB / 1.088 GB, free: 62.1 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.001978/0.8911, allocations: 0.6959 MB / 1.089 GB, free: 61.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.8932, allocations: 0.9944 MB / 1.09 GB, free: 61.72 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.8932, allocations: 2.656 kB / 1.09 GB, free: 61.72 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.8941, allocations: 0.6426 MB / 1.09 GB, free: 61.53 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.8959, allocations: 0.5428 MB / 1.091 GB, free: 61.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.9014, allocations: 2.678 MB / 1.093 GB, free: 60.31 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.9018, allocations: 314.5 kB / 1.094 GB, free: 60.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001509/0.9033, allocations: 412.2 kB / 1.094 GB, free: 60.15 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.9037, allocations: 158.6 kB / 1.094 GB, free: 60.14 MB / 1.01 GB Notification: Performance of SimCode: time 3.186e-06/0.9037, allocations: 0 / 1.094 GB, free: 60.14 MB / 1.01 GB Notification: Performance of Templates: time 0.05371/0.9574, allocations: 27.5 MB / 1.121 GB, free: 57.16 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 -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: 7.639251742977649]