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.0009584/0.0009584, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.001098/0.001098, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9422/0.9422, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.264/2.264, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.543e-06/1.543e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.036e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1312/0.1312, allocations: 148.6 MB / 1.035 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.144, allocations: 13.45 MB / 1.048 GB, free: 7.086 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1451, allocations: 43.62 kB / 1.048 GB, free: 7.043 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.146, allocations: 404.5 kB / 1.048 GB, free: 6.645 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.1485, allocations: 1.355 MB / 1.05 GB, free: 5.281 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.151, allocations: 1.465 MB / 1.051 GB, free: 3.812 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.1535, allocations: 2.983 MB / 1.054 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4782/0.6317, allocations: 1.449 MB / 1.056 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.6348, allocations: 2.005 MB / 1.057 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.6357, allocations: 0.8404 MB / 1.058 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.636, allocations: 194.2 kB / 1.058 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.6373, allocations: 0.8973 MB / 1.059 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.6376, allocations: 0.5948 MB / 1.06 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.6382, allocations: 0.7041 MB / 1.061 GB, free: 49.5 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.6404, allocations: 2.184 MB / 1.063 GB, free: 49.37 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6404, allocations: 0 / 1.063 GB, free: 49.37 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6404, allocations: 0 / 1.063 GB, free: 49.37 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.43e-05/0.6404, allocations: 0.5938 kB / 1.063 GB, free: 49.37 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.002113/0.6425, allocations: 2.399 MB / 1.065 GB, free: 48.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6426, allocations: 12.28 kB / 1.065 GB, free: 48.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.6446, allocations: 0.8101 MB / 1.066 GB, free: 48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.6456, allocations: 1.067 MB / 1.067 GB, free: 47.66 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.6456, allocations: 124.8 kB / 1.067 GB, free: 47.65 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.6458, allocations: 176.8 kB / 1.067 GB, free: 47.65 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.647, allocations: 1.894 MB / 1.069 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.647, allocations: 4.188 kB / 1.069 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.991e-05/0.6471, allocations: 70.25 kB / 1.069 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.6471, allocations: 41.38 kB / 1.069 GB, free: 46.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.648, allocations: 0.9853 MB / 1.07 GB, free: 46.58 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.003635/0.6517, allocations: 4.676 MB / 1.075 GB, free: 44.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.6525, allocations: 0.733 MB / 1.075 GB, free: 44.38 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.6528, allocations: 290.2 kB / 1.076 GB, free: 44.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.6529, allocations: 78.36 kB / 1.076 GB, free: 44.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.6535, allocations: 1.042 MB / 1.077 GB, free: 43.65 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 2.685e-06/0.6535, allocations: 0 / 1.077 GB, free: 43.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.001733/0.6552, allocations: 1.17 MB / 1.078 GB, free: 43.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6553, allocations: 201.7 kB / 1.078 GB, free: 43.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.6558, allocations: 0.8055 MB / 1.079 GB, free: 43.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.6558, allocations: 62.88 kB / 1.079 GB, free: 43.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.6561, allocations: 0.7658 MB / 1.08 GB, free: 42.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.6563, allocations: 468.8 kB / 1.08 GB, free: 42.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.6565, allocations: 281.5 kB / 1.08 GB, free: 42.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.6566, allocations: 0.5428 MB / 1.081 GB, free: 41.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.6568, allocations: 185.7 kB / 1.081 GB, free: 41.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.6572, allocations: 0.5924 MB / 1.082 GB, free: 41.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.6578, allocations: 0.6916 MB / 1.082 GB, free: 41.13 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6578, allocations: 6.875 kB / 1.082 GB, free: 41.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001138/0.6589, allocations: 0.9818 MB / 1.083 GB, free: 40.99 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6589, allocations: 12.47 kB / 1.083 GB, free: 40.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.659, allocations: 6.547 kB / 1.083 GB, free: 40.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.6593, allocations: 132 kB / 1.084 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.66, allocations: 347 kB / 1.084 GB, free: 40.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008807/0.6609, allocations: 1.887 MB / 1.086 GB, free: 39.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.6614, allocations: 140 kB / 1.086 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.6615, allocations: 53.53 kB / 1.086 GB, free: 39.19 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002525/0.6617, allocations: 255.1 kB / 1.086 GB, free: 39.02 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6619, allocations: 176.8 kB / 1.086 GB, free: 38.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.6632, allocations: 1.115 MB / 1.087 GB, free: 38.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.6632, allocations: 14.19 kB / 1.087 GB, free: 38.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6632, allocations: 1.094 kB / 1.087 GB, free: 38.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6632, allocations: 16.64 kB / 1.087 GB, free: 38.82 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.6658, allocations: 2.168 MB / 1.09 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6658, allocations: 0 / 1.09 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.6665, allocations: 290.8 kB / 1.09 GB, free: 38.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003308/0.6668, allocations: 123.1 kB / 1.09 GB, free: 38.37 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.6669, allocations: 38.14 kB / 1.09 GB, free: 38.37 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007767/0.6676, allocations: 1.891 MB / 1.092 GB, free: 36.64 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6676, allocations: 5.031 kB / 1.092 GB, free: 36.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.6693, allocations: 1.355 MB / 1.093 GB, free: 36.31 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.6697, allocations: 304.8 kB / 1.093 GB, free: 36.22 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.6698, allocations: 34.22 kB / 1.093 GB, free: 36.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.6702, allocations: 70.12 kB / 1.094 GB, free: 36.22 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6704, allocations: 100.1 kB / 1.094 GB, free: 36.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.287e-05/0.6704, allocations: 53.11 kB / 1.094 GB, free: 36.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003308/0.6708, allocations: 484.9 kB / 1.094 GB, free: 36.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6708, allocations: 0 / 1.094 GB, free: 36.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000937/0.6717, allocations: 0.5857 MB / 1.095 GB, free: 35.96 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.001228/0.6729, allocations: 0.6897 MB / 1.095 GB, free: 35.77 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.674, allocations: 0.8932 MB / 1.096 GB, free: 35.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.674, allocations: 2.625 kB / 1.096 GB, free: 35.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.6746, allocations: 0.5902 MB / 1.097 GB, free: 35.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6757, allocations: 0.5384 MB / 1.097 GB, free: 35.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.679, allocations: 2.661 MB / 1.1 GB, free: 34.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.6792, allocations: 315.6 kB / 1.1 GB, free: 34.05 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.68, allocations: 302.3 kB / 1.101 GB, free: 33.99 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.681, allocations: 0.6095 MB / 1.101 GB, free: 33.92 MB / 1.01 GB Notification: Performance of SimCode: time 5.41e-07/0.681, allocations: 0 / 1.101 GB, free: 33.92 MB / 1.01 GB Notification: Performance of Templates: time 0.03552/0.7166, allocations: 28.16 MB / 1.129 GB, free: 30.99 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.566663791891187]