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.0009961/0.0009961, allocations: 88.2 kB / 19.4 MB, free: 0.5 MB / 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.0009672/0.0009672, allocations: 168.9 kB / 22.71 MB, free: 1.844 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.9471/0.9471, allocations: 177.1 MB / 203 MB, free: 5.477 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.061/2.061, allocations: 429.5 MB / 0.6728 GB, free: 4.016 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 1.753e-06/1.753e-06, allocations: 0 / 0.8774 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.867e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.159/0.159, allocations: 172.4 MB / 1.046 GB, free: 9.672 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5512/0.7102, allocations: 16.22 MB / 1.062 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.7116, allocations: 40.06 kB / 1.062 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.7129, allocations: 0.5993 MB / 1.062 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.7164, allocations: 1.714 MB / 1.064 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.7193, allocations: 1.731 MB / 1.066 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.722, allocations: 3.007 MB / 1.068 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7236, allocations: 1.448 MB / 1.07 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.7271, allocations: 2.26 MB / 1.072 GB, free: 47.1 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.7281, allocations: 0.8755 MB / 1.073 GB, free: 47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003425/0.7284, allocations: 210.1 kB / 1.073 GB, free: 47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.7304, allocations: 1.278 MB / 1.074 GB, free: 46.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003405/0.7307, allocations: 0.6123 MB / 1.075 GB, free: 46.82 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007021/0.7314, allocations: 0.7333 MB / 1.076 GB, free: 46.74 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.734, allocations: 2.355 MB / 1.078 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.734, allocations: 3.625 kB / 1.078 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.854e-06/0.734, allocations: 4.156 kB / 1.078 GB, free: 46.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.413e-05/0.7341, allocations: 0 / 1.078 GB, free: 46.42 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.002883/0.7369, allocations: 2.43 MB / 1.08 GB, free: 45.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.737, allocations: 11.69 kB / 1.08 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.7396, allocations: 0.8197 MB / 1.081 GB, free: 45.02 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7409, allocations: 1.1 MB / 1.082 GB, free: 44.67 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.7409, allocations: 127.1 kB / 1.082 GB, free: 44.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.7411, allocations: 178.8 kB / 1.083 GB, free: 44.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.7429, allocations: 2.066 MB / 1.085 GB, free: 43.56 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.743, allocations: 6.422 kB / 1.085 GB, free: 43.56 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.7431, allocations: 68.41 kB / 1.085 GB, free: 43.56 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/0.7431, allocations: 48.72 kB / 1.085 GB, free: 43.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.7447, allocations: 1.238 MB / 1.086 GB, free: 43.54 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.004514/0.7493, allocations: 4.937 MB / 1.091 GB, free: 41.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.751, allocations: 0.9223 MB / 1.092 GB, free: 41.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006486/0.7517, allocations: 369.5 kB / 1.092 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.7519, allocations: 88.09 kB / 1.092 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.7529, allocations: 1.127 MB / 1.093 GB, free: 40.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 2.344e-06/0.7529, allocations: 0 / 1.093 GB, free: 40.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.003069/0.756, allocations: 1.426 MB / 1.095 GB, free: 40.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.7561, allocations: 205 kB / 1.095 GB, free: 40.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.7568, allocations: 0.7852 MB / 1.096 GB, free: 39.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.462e-05/0.7569, allocations: 61.05 kB / 1.096 GB, free: 39.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.7572, allocations: 0.7346 MB / 1.096 GB, free: 39.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.7574, allocations: 460.1 kB / 1.097 GB, free: 39.29 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.7577, allocations: 256.8 kB / 1.097 GB, free: 39.26 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.7578, allocations: 0.5268 MB / 1.098 GB, free: 38.78 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.7584, allocations: 273.3 kB / 1.098 GB, free: 38.78 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.7591, allocations: 0.6669 MB / 1.098 GB, free: 38.38 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.7603, allocations: 0.7227 MB / 1.099 GB, free: 38.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7604, allocations: 1.875 kB / 1.099 GB, free: 38.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002023/0.7624, allocations: 1.095 MB / 1.1 GB, free: 38.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7624, allocations: 6.344 kB / 1.1 GB, free: 38.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7624, allocations: 2.156 kB / 1.1 GB, free: 38.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.763, allocations: 132.5 kB / 1.1 GB, free: 38.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.7639, allocations: 326.8 kB / 1.101 GB, free: 38.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.7651, allocations: 1.919 MB / 1.103 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.7657, allocations: 125.4 kB / 1.103 GB, free: 36.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.7658, allocations: 56.91 kB / 1.103 GB, free: 36.29 MB / 1.01 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.0003265/0.7661, allocations: 243.9 kB / 1.103 GB, free: 36.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.7664, allocations: 176.6 kB / 1.103 GB, free: 36.06 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.7685, allocations: 1.301 MB / 1.104 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.7686, allocations: 14.56 kB / 1.104 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7686, allocations: 0 / 1.104 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7686, allocations: 8.141 kB / 1.104 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/0.7723, allocations: 2.57 MB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7723, allocations: 0.6094 kB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.7731, allocations: 282.5 kB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.7735, allocations: 122.1 kB / 1.107 GB, free: 35.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.433e-05/0.7736, allocations: 40.83 kB / 1.107 GB, free: 35.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.7746, allocations: 1.921 MB / 1.109 GB, free: 33.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7746, allocations: 0.9062 kB / 1.109 GB, free: 33.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.7775, allocations: 1.624 MB / 1.111 GB, free: 33.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.778, allocations: 323.5 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7781, allocations: 29.2 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.7786, allocations: 86.3 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.7788, allocations: 100.7 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.7789, allocations: 66.91 kB / 1.111 GB, free: 33.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005827/0.7795, allocations: 0.506 MB / 1.112 GB, free: 33.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7795, allocations: 0.875 kB / 1.112 GB, free: 33.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00133/0.7809, allocations: 0.5927 MB / 1.112 GB, free: 33.02 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.001468/0.7823, allocations: 0.7102 MB / 1.113 GB, free: 32.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.7841, allocations: 1.034 MB / 1.114 GB, free: 32.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7841, allocations: 5.062 kB / 1.114 GB, free: 32.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.785, allocations: 0.6757 MB / 1.115 GB, free: 32.39 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7864, allocations: 0.5386 MB / 1.115 GB, free: 32.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.7907, allocations: 2.731 MB / 1.118 GB, free: 31.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.791, allocations: 313 kB / 1.118 GB, free: 31.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001032/0.792, allocations: 400.6 kB / 1.119 GB, free: 31.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.7924, allocations: 153.5 kB / 1.119 GB, free: 31 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/0.7924, allocations: 1.125 kB / 1.119 GB, free: 31 MB / 1.01 GB Notification: Performance of Templates: time 0.03168/0.8241, allocations: 26.47 MB / 1.145 GB, free: 28.03 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: 6.98421170306392]