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.001312/0.001312, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001019/0.001019, allocations: 173 kB / 23.49 MB, free: 1.055 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.9587/0.9587, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.085/2.085, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.294e-06/2.294e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.278e-05, allocations: 2.844 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1418/0.1418, allocations: 172.4 MB / 1.047 GB, free: 9.637 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4379/0.5797, allocations: 16.21 MB / 1.062 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.5808, allocations: 42 kB / 1.062 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.582, allocations: 0.6051 MB / 1.063 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.585, allocations: 1.711 MB / 1.065 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.5878, allocations: 1.73 MB / 1.066 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002504/0.5903, allocations: 2.998 MB / 1.069 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.592, allocations: 1.449 MB / 1.071 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.5952, allocations: 2.26 MB / 1.073 GB, free: 47.1 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008122/0.596, allocations: 0.8758 MB / 1.074 GB, free: 47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.5962, allocations: 209.7 kB / 1.074 GB, free: 47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.5979, allocations: 1.278 MB / 1.075 GB, free: 46.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5982, allocations: 0.6154 MB / 1.076 GB, free: 46.82 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.5987, allocations: 0.7301 MB / 1.077 GB, free: 46.74 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6007, allocations: 2.36 MB / 1.079 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6007, allocations: 0 / 1.079 GB, free: 46.42 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6007, allocations: 0 / 1.079 GB, free: 46.42 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.6008, allocations: 4.203 kB / 1.079 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.002143/0.6029, allocations: 2.434 MB / 1.081 GB, free: 45.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.6029, allocations: 8.688 kB / 1.081 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.6053, allocations: 0.8185 MB / 1.082 GB, free: 45.02 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6065, allocations: 1.1 MB / 1.083 GB, free: 44.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.6066, allocations: 126.3 kB / 1.083 GB, free: 44.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.6068, allocations: 178.2 kB / 1.083 GB, free: 44.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.6084, allocations: 2.076 MB / 1.085 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.6084, allocations: 0 / 1.085 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.6086, allocations: 73.8 kB / 1.085 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.6086, allocations: 50.05 kB / 1.086 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.6099, allocations: 1.164 MB / 1.087 GB, free: 43.53 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.004059/0.614, allocations: 4.945 MB / 1.092 GB, free: 41.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.6153, allocations: 0.8301 MB / 1.092 GB, free: 41.3 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.6159, allocations: 334.9 kB / 1.093 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/0.6161, allocations: 86.42 kB / 1.093 GB, free: 41.27 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008153/0.6169, allocations: 1.095 MB / 1.094 GB, free: 40.58 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 2.485e-06/0.6169, allocations: 0 / 1.094 GB, free: 40.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.002518/0.6194, allocations: 1.321 MB / 1.095 GB, free: 40.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.6195, allocations: 202.7 kB / 1.095 GB, free: 40.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.6202, allocations: 0.7897 MB / 1.096 GB, free: 39.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/0.6202, allocations: 58.55 kB / 1.096 GB, free: 39.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.6206, allocations: 0.7321 MB / 1.097 GB, free: 39.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.6208, allocations: 468.7 kB / 1.097 GB, free: 39.29 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.6211, allocations: 255.1 kB / 1.098 GB, free: 39.26 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.6211, allocations: 0.5294 MB / 1.098 GB, free: 38.78 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.6216, allocations: 239.5 kB / 1.098 GB, free: 38.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.6222, allocations: 0.6318 MB / 1.099 GB, free: 38.37 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/0.6231, allocations: 0.6507 MB / 1.1 GB, free: 38.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6231, allocations: 0.9375 kB / 1.1 GB, free: 38.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001637/0.6247, allocations: 1.026 MB / 1.101 GB, free: 38.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.6248, allocations: 6.375 kB / 1.101 GB, free: 38.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6248, allocations: 1.5 kB / 1.101 GB, free: 38.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.6252, allocations: 134.6 kB / 1.101 GB, free: 38.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/0.6261, allocations: 323.3 kB / 1.101 GB, free: 38.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.6272, allocations: 1.913 MB / 1.103 GB, free: 36.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.6278, allocations: 126.4 kB / 1.103 GB, free: 36.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.6279, allocations: 57.14 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.0003012/0.6282, allocations: 240.3 kB / 1.103 GB, free: 36.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.6284, allocations: 175.3 kB / 1.103 GB, free: 36.06 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.6303, allocations: 1.227 MB / 1.105 GB, free: 35.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.6303, allocations: 14.55 kB / 1.105 GB, free: 35.94 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6304, allocations: 4.953 kB / 1.105 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.6304, allocations: 8.453 kB / 1.105 GB, free: 35.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.634, allocations: 2.501 MB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.634, allocations: 0.9688 kB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.6348, allocations: 282.2 kB / 1.107 GB, free: 35.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.6352, allocations: 123.1 kB / 1.107 GB, free: 35.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.6353, allocations: 38.39 kB / 1.107 GB, free: 35.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.6363, allocations: 1.921 MB / 1.109 GB, free: 33.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6363, allocations: 4.938 kB / 1.109 GB, free: 33.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.6386, allocations: 1.515 MB / 1.111 GB, free: 33.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.6391, allocations: 315.6 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.6393, allocations: 32.5 kB / 1.111 GB, free: 33.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.6398, allocations: 92.67 kB / 1.111 GB, free: 33.28 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.6401, allocations: 102 kB / 1.111 GB, free: 33.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6402, allocations: 61.17 kB / 1.111 GB, free: 33.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006432/0.6408, allocations: 0.5073 MB / 1.112 GB, free: 33.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6408, allocations: 1.031 kB / 1.112 GB, free: 33.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001587/0.6424, allocations: 0.5913 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.001635/0.6441, allocations: 0.7022 MB / 1.113 GB, free: 32.81 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.646, allocations: 0.9646 MB / 1.114 GB, free: 32.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.646, allocations: 1.781 kB / 1.114 GB, free: 32.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.6469, allocations: 0.644 MB / 1.115 GB, free: 32.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.6483, allocations: 0.5518 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.004188/0.6525, allocations: 2.692 MB / 1.118 GB, free: 31.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.6528, allocations: 313.8 kB / 1.118 GB, free: 31.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00103/0.6538, allocations: 401.5 kB / 1.119 GB, free: 31.02 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.6542, allocations: 155.3 kB / 1.119 GB, free: 31.01 MB / 1.01 GB Notification: Performance of SimCode: time 1.253e-06/0.6542, allocations: 1.062 kB / 1.119 GB, free: 31.01 MB / 1.01 GB Notification: Performance of Templates: time 0.03104/0.6852, allocations: 26.47 MB / 1.145 GB, free: 28.07 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.8614108599722385]