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.0009348/0.0009348, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009398/0.0009398, allocations: 169 kB / 23.02 MB, free: 1.551 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.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.171/2.171, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.745e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1378/0.1378, allocations: 151.5 MB / 1.026 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.1521, allocations: 13.66 MB / 1.039 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1534, allocations: 39.69 kB / 1.039 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.1545, allocations: 408.4 kB / 1.04 GB, free: 200 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.1576, allocations: 1.34 MB / 1.041 GB, free: 14.85 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.1609, allocations: 1.468 MB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.1642, allocations: 2.975 MB / 1.046 GB, free: 10.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.1662, allocations: 1.442 MB / 1.047 GB, free: 8.895 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.1694, allocations: 1.917 MB / 1.049 GB, free: 7.066 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1706, allocations: 0.8685 MB / 1.05 GB, free: 6.195 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.1708, allocations: 208 kB / 1.05 GB, free: 5.992 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.1725, allocations: 0.932 MB / 1.051 GB, free: 5.059 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.1729, allocations: 0.6113 MB / 1.051 GB, free: 4.445 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.1736, allocations: 0.7365 MB / 1.052 GB, free: 3.707 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.1768, allocations: 2.234 MB / 1.054 GB, free: 1.465 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1768, allocations: 0 / 1.054 GB, free: 1.465 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1768, allocations: 0 / 1.054 GB, free: 1.465 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.608e-05/0.1768, allocations: 7.984 kB / 1.054 GB, free: 1.457 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.5131/0.69, allocations: 2.399 MB / 1.057 GB, free: 58.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.69, allocations: 8.531 kB / 1.057 GB, free: 58.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.6931, allocations: 0.8264 MB / 1.057 GB, free: 58.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.6947, allocations: 1.099 MB / 1.058 GB, free: 58.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/0.6948, allocations: 125.3 kB / 1.059 GB, free: 58.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.695, allocations: 174.3 kB / 1.059 GB, free: 58.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.6969, allocations: 2.08 MB / 1.061 GB, free: 57.29 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.697, allocations: 0.8438 kB / 1.061 GB, free: 57.29 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.6971, allocations: 76.52 kB / 1.061 GB, free: 57.29 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.6971, allocations: 48.67 kB / 1.061 GB, free: 57.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.6986, allocations: 1.163 MB / 1.062 GB, free: 57.26 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.005252/0.7039, allocations: 4.939 MB / 1.067 GB, free: 55.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7052, allocations: 0.8294 MB / 1.068 GB, free: 55.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.7056, allocations: 332.3 kB / 1.068 GB, free: 55.09 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.7058, allocations: 59.16 kB / 1.068 GB, free: 55.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009104/0.7067, allocations: 1.102 MB / 1.069 GB, free: 54.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 6.272e-06/0.7067, allocations: 0.9688 kB / 1.069 GB, free: 54.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.002602/0.7093, allocations: 1.31 MB / 1.07 GB, free: 54.25 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.7094, allocations: 205.5 kB / 1.071 GB, free: 54.03 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.7102, allocations: 0.7926 MB / 1.071 GB, free: 53.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.946e-05/0.7102, allocations: 62.14 kB / 1.071 GB, free: 53.78 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.7106, allocations: 0.7304 MB / 1.072 GB, free: 53.49 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.7109, allocations: 464.8 kB / 1.073 GB, free: 53.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.7112, allocations: 256.7 kB / 1.073 GB, free: 53.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.7113, allocations: 0.5242 MB / 1.073 GB, free: 52.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.7117, allocations: 238 kB / 1.074 GB, free: 52.71 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.7123, allocations: 0.6336 MB / 1.074 GB, free: 52.31 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.7132, allocations: 0.6496 MB / 1.075 GB, free: 52.19 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7132, allocations: 0.9062 kB / 1.075 GB, free: 52.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001873/0.7151, allocations: 1.025 MB / 1.076 GB, free: 52.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.7151, allocations: 6.531 kB / 1.076 GB, free: 52.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7152, allocations: 7.125 kB / 1.076 GB, free: 52.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.7157, allocations: 132.4 kB / 1.076 GB, free: 52.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008317/0.7165, allocations: 325.9 kB / 1.076 GB, free: 52.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.7178, allocations: 1.91 MB / 1.078 GB, free: 50.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.7186, allocations: 124.7 kB / 1.078 GB, free: 50.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.7187, allocations: 60.56 kB / 1.078 GB, free: 50.24 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.0005468/0.7192, allocations: 248.1 kB / 1.079 GB, free: 50.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.7195, allocations: 171 kB / 1.079 GB, free: 50 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.7214, allocations: 1.223 MB / 1.08 GB, free: 49.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.7214, allocations: 15.56 kB / 1.08 GB, free: 49.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7214, allocations: 7.031 kB / 1.08 GB, free: 49.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7214, allocations: 6.469 kB / 1.08 GB, free: 49.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.7249, allocations: 2.506 MB / 1.082 GB, free: 49.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.7249, allocations: 0 / 1.082 GB, free: 49.42 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.7256, allocations: 284.5 kB / 1.083 GB, free: 49.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.726, allocations: 116 kB / 1.083 GB, free: 49.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.7261, allocations: 42.95 kB / 1.083 GB, free: 49.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.7272, allocations: 1.925 MB / 1.085 GB, free: 47.64 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7272, allocations: 3.578 kB / 1.085 GB, free: 47.64 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.7296, allocations: 1.512 MB / 1.086 GB, free: 47.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006503/0.7302, allocations: 319.9 kB / 1.086 GB, free: 47.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.7304, allocations: 35.45 kB / 1.087 GB, free: 47.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.731, allocations: 83.53 kB / 1.087 GB, free: 47.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.7311, allocations: 99.05 kB / 1.087 GB, free: 47.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/0.7312, allocations: 63.03 kB / 1.087 GB, free: 47.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005706/0.7318, allocations: 0.508 MB / 1.087 GB, free: 47.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7318, allocations: 0.875 kB / 1.087 GB, free: 47.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001404/0.7332, allocations: 0.5847 MB / 1.088 GB, free: 46.97 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.001803/0.735, allocations: 0.679 MB / 1.088 GB, free: 46.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.737, allocations: 0.961 MB / 1.089 GB, free: 46.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.737, allocations: 3.25 kB / 1.089 GB, free: 46.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/0.7378, allocations: 0.6459 MB / 1.09 GB, free: 46.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7394, allocations: 0.5427 MB / 1.091 GB, free: 46.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.7444, allocations: 2.689 MB / 1.093 GB, free: 45.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.7447, allocations: 314.3 kB / 1.094 GB, free: 45.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001272/0.746, allocations: 402.9 kB / 1.094 GB, free: 45.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.7464, allocations: 154.8 kB / 1.094 GB, free: 45 MB / 1.01 GB Notification: Performance of SimCode: time 1.834e-06/0.7464, allocations: 2.5 kB / 1.094 GB, free: 45 MB / 1.01 GB Notification: Performance of Templates: time 0.04335/0.7898, allocations: 26.13 MB / 1.12 GB, free: 42.25 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.276951433159411]