Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 249.5 MB / 257 MB, free: 6.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 180.5 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 92.23 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.025e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.686/5.919, allocations: 2.178 GB / 3.063 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/5.919, allocations: 86.05 kB / 3.063 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3555/6.275, allocations: 205.6 MB / 3.264 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.553e-06/6.275, allocations: 0 / 3.264 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.93e-05/6.275, allocations: 7.984 kB / 3.264 GB, free: 20.52 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001394/6.276, allocations: 0.5878 MB / 3.265 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/6.276, allocations: 8.031 kB / 3.265 GB, free: 19.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/6.277, allocations: 43.69 kB / 3.265 GB, free: 19.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/6.277, allocations: 278.6 kB / 3.265 GB, free: 19.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/6.277, allocations: 11.94 kB / 3.265 GB, free: 19.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/6.277, allocations: 8 kB / 3.265 GB, free: 19.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002504/6.277, allocations: 168.3 kB / 3.265 GB, free: 19.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/6.277, allocations: 198.7 kB / 3.265 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/6.278, allocations: 3.938 kB / 3.265 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/6.278, allocations: 0 / 3.265 GB, free: 19.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/6.278, allocations: 8 kB / 3.265 GB, free: 19.13 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001068/6.279, allocations: 0.8167 MB / 3.266 GB, free: 18.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/6.279, allocations: 122.5 kB / 3.266 GB, free: 18.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/6.279, allocations: 88.81 kB / 3.266 GB, free: 18.03 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/6.279, allocations: 194.2 kB / 3.267 GB, free: 17.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/6.279, allocations: 34.56 kB / 3.267 GB, free: 17.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/6.279, allocations: 0 / 3.267 GB, free: 17.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0004944/6.28, allocations: 223.1 kB / 3.267 GB, free: 17.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/6.28, allocations: 51.41 kB / 3.267 GB, free: 17.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/6.28, allocations: 154.1 kB / 3.267 GB, free: 17.31 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/6.28, allocations: 29.7 kB / 3.267 GB, free: 17.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/6.28, allocations: 140.3 kB / 3.267 GB, free: 17.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/6.28, allocations: 47.3 kB / 3.267 GB, free: 17.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/6.28, allocations: 0 / 3.267 GB, free: 17.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/6.28, allocations: 326.8 kB / 3.268 GB, free: 16.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/6.28, allocations: 63.97 kB / 3.268 GB, free: 16.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/6.28, allocations: 108.2 kB / 3.268 GB, free: 16.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/6.28, allocations: 67.95 kB / 3.268 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/6.28, allocations: 0 / 3.268 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002379/6.281, allocations: 205.3 kB / 3.268 GB, free: 16.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/6.281, allocations: 4 kB / 3.268 GB, free: 16.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/6.281, allocations: 3.938 kB / 3.268 GB, free: 16.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/6.281, allocations: 4 kB / 3.268 GB, free: 16.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/6.281, allocations: 39.97 kB / 3.268 GB, free: 16.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/6.281, allocations: 7.953 kB / 3.268 GB, free: 16.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/6.281, allocations: 19.83 kB / 3.268 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/6.281, allocations: 11.98 kB / 3.268 GB, free: 16.21 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/6.281, allocations: 105 kB / 3.268 GB, free: 16.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/6.281, allocations: 15.81 kB / 3.268 GB, free: 16.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/6.281, allocations: 29.95 kB / 3.268 GB, free: 16.06 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/6.281, allocations: 0 / 3.268 GB, free: 16.06 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.281, allocations: 4.062 kB / 3.268 GB, free: 16.06 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/6.281, allocations: 3.953 kB / 3.268 GB, free: 16.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/6.282, allocations: 0.641 MB / 3.269 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/6.282, allocations: 4 kB / 3.269 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/6.282, allocations: 39.91 kB / 3.269 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/6.282, allocations: 7.953 kB / 3.269 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/6.282, allocations: 4 kB / 3.269 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/6.282, allocations: 4 kB / 3.269 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/6.282, allocations: 3.984 kB / 3.269 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/6.283, allocations: 426.1 kB / 3.269 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/6.283, allocations: 108.9 kB / 3.269 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/6.283, allocations: 4 kB / 3.269 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/6.283, allocations: 19.97 kB / 3.269 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/6.283, allocations: 11.98 kB / 3.269 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/6.283, allocations: 8 kB / 3.269 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.476e-05/6.283, allocations: 124.3 kB / 3.27 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.283, allocations: 0 / 3.27 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004968/6.284, allocations: 119.8 kB / 3.27 GB, free: 14.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/6.285, allocations: 1.012 MB / 3.271 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002621/6.285, allocations: 159.8 kB / 3.271 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.285, allocations: 0 / 3.271 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/6.285, allocations: 91.81 kB / 3.271 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/6.286, allocations: 83 kB / 3.271 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/6.286, allocations: 310 kB / 3.271 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/6.286, allocations: 0.7672 MB / 3.272 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002452/6.287, allocations: 57.3 kB / 3.272 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/6.287, allocations: 23.42 kB / 3.272 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of SimCode: time 8.21e-07/6.287, allocations: 0 / 3.272 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of Templates: time 0.01169/6.298, allocations: 8.14 MB / 3.28 GB, free: 3.738 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:m_flow.duration,m_flow.height,m_flow.offset,m_flow.startTime,res._dp_start,res._m_flow_start,res.allowFlowReversal,res.dp,res.from_dp,res.m_flow_nominal,res.m_flow_small,res.show_T,res.sta_a.T,res.sta_b.T,sin.T,sin.X[1],sin.X[2],sin.flowDirection,sin.nPorts,sin.p,sin.verifyInputs,sou.T,sou.X[1],sou.X[2],sou.flowDirection,sou.m_flow,sou.nPorts,sou.verifyInputs,time