Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.0009797/0.0009797, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001038/0.001038, 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.9666/0.9666, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.116/2.116, 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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.481e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6132/0.6132, allocations: 187.6 MB / 1.061 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007751/0.621, allocations: 5.816 MB / 1.067 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.6223, allocations: 58.16 kB / 1.067 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.6235, allocations: 0.5509 MB / 1.068 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.6271, allocations: 1.967 MB / 1.07 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.6296, allocations: 1.228 MB / 1.071 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.6334, allocations: 3.049 MB / 1.074 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.6348, allocations: 0.8398 MB / 1.075 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.6384, allocations: 1.667 MB / 1.076 GB, free: 47.17 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.6404, allocations: 0.9338 MB / 1.077 GB, free: 47.08 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.6407, allocations: 124.3 kB / 1.077 GB, free: 47.08 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.6436, allocations: 1.215 MB / 1.078 GB, free: 46.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.6442, allocations: 0.6297 MB / 1.079 GB, free: 46.89 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.6451, allocations: 0.5211 MB / 1.08 GB, free: 46.84 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.6483, allocations: 1.751 MB / 1.081 GB, free: 46.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6483, allocations: 0.9688 kB / 1.081 GB, free: 46.64 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6483, allocations: 0 / 1.081 GB, free: 46.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.544e-05/0.6484, allocations: 0.5938 kB / 1.081 GB, free: 46.64 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002526/0.6509, allocations: 1.687 MB / 1.083 GB, free: 45.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6509, allocations: 10.12 kB / 1.083 GB, free: 45.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6529, allocations: 443.3 kB / 1.083 GB, free: 45.67 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6542, allocations: 0.8616 MB / 1.084 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/0.6543, allocations: 75.69 kB / 1.084 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6544, allocations: 109.2 kB / 1.084 GB, free: 45.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.6557, allocations: 1.127 MB / 1.085 GB, free: 44.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.6557, allocations: 0 / 1.085 GB, free: 44.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.6558, allocations: 46.41 kB / 1.086 GB, free: 44.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.6559, allocations: 40.28 kB / 1.086 GB, free: 44.69 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.6567, allocations: 403 kB / 1.086 GB, free: 44.68 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.004021/0.6608, allocations: 2.483 MB / 1.088 GB, free: 44.16 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.6613, allocations: 347.9 kB / 1.089 GB, free: 44.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6615, allocations: 148.8 kB / 1.089 GB, free: 44.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.6616, allocations: 29.64 kB / 1.089 GB, free: 44.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.6617, allocations: 46.61 kB / 1.089 GB, free: 44.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 2.785e-06/0.6617, allocations: 0 / 1.089 GB, free: 44.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.002412/0.6641, allocations: 1.187 MB / 1.09 GB, free: 43.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.6641, allocations: 62.09 kB / 1.09 GB, free: 43.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.6647, allocations: 0.6603 MB / 1.091 GB, free: 43.34 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.6648, allocations: 38.45 kB / 1.091 GB, free: 43.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.665, allocations: 0.5921 MB / 1.091 GB, free: 42.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.6652, allocations: 207.6 kB / 1.092 GB, free: 42.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.6654, allocations: 138.6 kB / 1.092 GB, free: 42.82 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6655, allocations: 0.5684 MB / 1.092 GB, free: 42.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.6657, allocations: 95.77 kB / 1.092 GB, free: 42.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.6661, allocations: 349.1 kB / 1.093 GB, free: 42.06 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.6673, allocations: 0.6716 MB / 1.093 GB, free: 41.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6673, allocations: 2.188 kB / 1.093 GB, free: 41.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009627/0.6683, allocations: 0.5638 MB / 1.094 GB, free: 41.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6683, allocations: 11.19 kB / 1.094 GB, free: 41.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6683, allocations: 3.406 kB / 1.094 GB, free: 41.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001664/0.6685, allocations: 71.09 kB / 1.094 GB, free: 41.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.669, allocations: 150.2 kB / 1.094 GB, free: 41.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.671, allocations: 5.26 MB / 1.099 GB, free: 36.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.6715, allocations: 27.45 kB / 1.099 GB, free: 36.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.6716, allocations: 29.5 kB / 1.099 GB, free: 36.51 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.6718, allocations: 199.9 kB / 1.1 GB, free: 36.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.672, allocations: 108.4 kB / 1.1 GB, free: 36.3 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.6721, allocations: 93.8 kB / 1.1 GB, free: 36.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6721, allocations: 5.906 kB / 1.1 GB, free: 36.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6721, allocations: 1.156 kB / 1.1 GB, free: 36.29 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005585/0.6726, allocations: 477.2 kB / 1.1 GB, free: 36.02 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.6747, allocations: 1.406 MB / 1.102 GB, free: 35.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6747, allocations: 4.344 kB / 1.102 GB, free: 35.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.6752, allocations: 134.8 kB / 1.102 GB, free: 35.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-05/0.6753, allocations: 34.77 kB / 1.102 GB, free: 35.51 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.6753, allocations: 15.28 kB / 1.102 GB, free: 35.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006838/0.676, allocations: 1.787 MB / 1.103 GB, free: 33.79 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.676, allocations: 6.969 kB / 1.103 GB, free: 33.79 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.677, allocations: 0.7625 MB / 1.104 GB, free: 33.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.6773, allocations: 156.6 kB / 1.104 GB, free: 33.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6774, allocations: 19.94 kB / 1.104 GB, free: 33.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.6779, allocations: 25.75 kB / 1.104 GB, free: 33.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.678, allocations: 51.48 kB / 1.104 GB, free: 33.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.678, allocations: 34.05 kB / 1.104 GB, free: 33.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004379/0.6785, allocations: 421.7 kB / 1.105 GB, free: 33.19 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6785, allocations: 0.8438 kB / 1.105 GB, free: 33.19 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001086/0.6796, allocations: 304.1 kB / 1.105 GB, free: 33.19 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0003442/0.6799, allocations: 184.9 kB / 1.105 GB, free: 33.09 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.6809, allocations: 0.8571 MB / 1.106 GB, free: 32.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6809, allocations: 2.094 kB / 1.106 GB, free: 32.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.6812, allocations: 351.8 kB / 1.107 GB, free: 32.38 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.6831, allocations: 0.5237 MB / 1.107 GB, free: 32.34 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.6862, allocations: 1.841 MB / 1.109 GB, free: 31.41 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.6864, allocations: 278.7 kB / 1.109 GB, free: 31.33 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007632/0.6872, allocations: 194.5 kB / 1.109 GB, free: 31.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.6874, allocations: 71.86 kB / 1.109 GB, free: 31.29 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/0.6874, allocations: 0 / 1.109 GB, free: 31.29 MB / 1.01 GB Notification: Performance of Templates: time 0.03162/0.719, allocations: 20 MB / 1.129 GB, free: 29.29 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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.47138286405243]