Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.0009531/0.0009531, allocations: 92.2 kB / 20.19 MB, free: 4.348 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.0009095/0.0009095, allocations: 169 kB / 23.49 MB, free: 1.047 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.063/2.063, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.092e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6318/0.6318, allocations: 187.7 MB / 1.062 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007871/0.6397, allocations: 5.839 MB / 1.067 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.641, allocations: 59.91 kB / 1.067 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.6423, allocations: 0.5616 MB / 1.068 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.6461, allocations: 1.976 MB / 1.07 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.6484, allocations: 1.243 MB / 1.071 GB, free: 47.5 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003215/0.6516, allocations: 3.038 MB / 1.074 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009602/0.6526, allocations: 0.7634 MB / 1.075 GB, free: 47.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.6548, allocations: 1.656 MB / 1.076 GB, free: 47.21 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.6561, allocations: 0.8834 MB / 1.077 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.6562, allocations: 110.2 kB / 1.077 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.6583, allocations: 1.204 MB / 1.078 GB, free: 46.99 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.6586, allocations: 0.5016 MB / 1.079 GB, free: 46.93 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.6591, allocations: 483.2 kB / 1.079 GB, free: 46.88 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.6614, allocations: 1.608 MB / 1.081 GB, free: 46.7 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6614, allocations: 0 / 1.081 GB, free: 46.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6614, allocations: 1 kB / 1.081 GB, free: 46.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.6614, allocations: 0 / 1.081 GB, free: 46.7 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00153/0.663, allocations: 1.579 MB / 1.083 GB, free: 45.88 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.663, allocations: 7.875 kB / 1.083 GB, free: 45.88 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.6643, allocations: 426.3 kB / 1.083 GB, free: 45.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.6652, allocations: 0.8091 MB / 1.084 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.6653, allocations: 64.97 kB / 1.084 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6654, allocations: 90.34 kB / 1.084 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.6662, allocations: 1.049 MB / 1.085 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6662, allocations: 0 / 1.085 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.6663, allocations: 41.03 kB / 1.085 GB, free: 44.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.6663, allocations: 34.41 kB / 1.085 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.6669, allocations: 350.4 kB / 1.085 GB, free: 44.79 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.002989/0.6699, allocations: 2.208 MB / 1.087 GB, free: 44.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.6703, allocations: 291.2 kB / 1.088 GB, free: 44.26 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.6705, allocations: 132 kB / 1.088 GB, free: 44.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.6706, allocations: 35.3 kB / 1.088 GB, free: 44.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.6706, allocations: 49.89 kB / 1.088 GB, free: 44.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 4.087e-06/0.6706, allocations: 0.9062 kB / 1.088 GB, free: 44.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.002317/0.673, allocations: 1.096 MB / 1.089 GB, free: 43.79 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.673, allocations: 61.08 kB / 1.089 GB, free: 43.73 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.6736, allocations: 0.6313 MB / 1.09 GB, free: 43.53 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.6736, allocations: 38.02 kB / 1.09 GB, free: 43.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.6738, allocations: 0.5364 MB / 1.09 GB, free: 43.2 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.674, allocations: 178 kB / 1.09 GB, free: 43.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.6741, allocations: 119.8 kB / 1.091 GB, free: 43.06 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6742, allocations: 0.5613 MB / 1.091 GB, free: 42.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.6744, allocations: 87.19 kB / 1.091 GB, free: 42.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.6746, allocations: 284 kB / 1.091 GB, free: 42.36 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.0008137/0.6754, allocations: 0.5591 MB / 1.092 GB, free: 42.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6754, allocations: 0.6875 kB / 1.092 GB, free: 42.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007167/0.6762, allocations: 486.7 kB / 1.092 GB, free: 42.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.6762, allocations: 6.812 kB / 1.092 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6762, allocations: 3.219 kB / 1.092 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.6765, allocations: 67.66 kB / 1.093 GB, free: 42.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.6769, allocations: 132.7 kB / 1.093 GB, free: 42.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.6786, allocations: 3.614 MB / 1.096 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.6791, allocations: 26.22 kB / 1.096 GB, free: 38.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.6791, allocations: 20.31 kB / 1.096 GB, free: 38.62 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002938/0.6794, allocations: 196 kB / 1.096 GB, free: 38.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.6795, allocations: 107.6 kB / 1.097 GB, free: 38.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.6796, allocations: 81.95 kB / 1.097 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6796, allocations: 5.844 kB / 1.097 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6796, allocations: 0 / 1.097 GB, free: 38.39 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000477/0.6801, allocations: 0.5925 MB / 1.097 GB, free: 37.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.6817, allocations: 1.302 MB / 1.098 GB, free: 37.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.6817, allocations: 7.844 kB / 1.098 GB, free: 37.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.6821, allocations: 109 kB / 1.099 GB, free: 37.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.6822, allocations: 53.67 kB / 1.099 GB, free: 37.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.6822, allocations: 14.16 kB / 1.099 GB, free: 37.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007673/0.683, allocations: 1.87 MB / 1.1 GB, free: 35.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.683, allocations: 3.281 kB / 1.1 GB, free: 35.73 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.6838, allocations: 0.7147 MB / 1.101 GB, free: 35.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.684, allocations: 142.7 kB / 1.101 GB, free: 35.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.6841, allocations: 13.31 kB / 1.101 GB, free: 35.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.6845, allocations: 32.06 kB / 1.101 GB, free: 35.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.6846, allocations: 48.97 kB / 1.101 GB, free: 35.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.6846, allocations: 27.14 kB / 1.101 GB, free: 35.27 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003422/0.685, allocations: 406.8 kB / 1.102 GB, free: 35.13 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.685, allocations: 0.9062 kB / 1.102 GB, free: 35.13 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008138/0.6858, allocations: 284.4 kB / 1.102 GB, free: 35.13 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.6861, allocations: 179.7 kB / 1.102 GB, free: 35.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.6869, allocations: 0.6554 MB / 1.103 GB, free: 34.67 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.6869, allocations: 2.25 kB / 1.103 GB, free: 34.67 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.6872, allocations: 345.7 kB / 1.103 GB, free: 34.48 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.6887, allocations: 0.5081 MB / 1.104 GB, free: 34.43 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.6913, allocations: 1.619 MB / 1.105 GB, free: 33.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.6916, allocations: 229 kB / 1.105 GB, free: 33.49 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006642/0.6922, allocations: 160.5 kB / 1.106 GB, free: 33.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.6924, allocations: 67.62 kB / 1.106 GB, free: 33.45 MB / 1.01 GB Notification: Performance of SimCode: time 3.066e-06/0.6924, allocations: 0 / 1.106 GB, free: 33.45 MB / 1.01 GB Notification: Performance of Templates: time 0.03036/0.7227, allocations: 18.5 MB / 1.124 GB, free: 31.62 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.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.416508316062391]