Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 176 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.131e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2751, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/5.009, allocations: 1.866 GB / 3.085 GB, free: 437.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/5.009, allocations: 81.59 kB / 3.085 GB, free: 437.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3903/5.4, allocations: 217.3 MB / 3.297 GB, free: 228.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/5.4, allocations: 0 / 3.297 GB, free: 228.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.465e-05/5.4, allocations: 11.94 kB / 3.297 GB, free: 228.2 MB / 1.167 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.001803/5.401, allocations: 0.6154 MB / 3.298 GB, free: 227.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/5.402, allocations: 8.031 kB / 3.298 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/5.402, allocations: 55.62 kB / 3.298 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/5.402, allocations: 282.6 kB / 3.298 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/5.402, allocations: 12 kB / 3.298 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/5.402, allocations: 12 kB / 3.298 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/5.403, allocations: 229.2 kB / 3.298 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/5.403, allocations: 0 / 3.298 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/5.403, allocations: 8 kB / 3.298 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/5.403, allocations: 12.31 kB / 3.298 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/5.403, allocations: 172.5 kB / 3.298 GB, free: 226.7 MB / 1.167 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.001538/5.405, allocations: 0.8911 MB / 3.299 GB, free: 225.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/5.405, allocations: 122.5 kB / 3.299 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/5.405, allocations: 104.7 kB / 3.3 GB, free: 225.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/5.405, allocations: 198.1 kB / 3.3 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/5.405, allocations: 34.52 kB / 3.3 GB, free: 225.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/5.405, allocations: 0 / 3.3 GB, free: 225.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0005692/5.406, allocations: 228.3 kB / 3.3 GB, free: 225 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/5.406, allocations: 55.66 kB / 3.3 GB, free: 224.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/5.406, allocations: 209.1 kB / 3.3 GB, free: 224.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/5.406, allocations: 29.7 kB / 3.3 GB, free: 224.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/5.406, allocations: 136.3 kB / 3.3 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/5.406, allocations: 51.3 kB / 3.3 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/5.407, allocations: 0 / 3.3 GB, free: 224.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/5.407, allocations: 334.8 kB / 3.301 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.966e-05/5.407, allocations: 67.95 kB / 3.301 GB, free: 224.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/5.407, allocations: 112.2 kB / 3.301 GB, free: 224 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/5.407, allocations: 79.94 kB / 3.301 GB, free: 223.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/5.407, allocations: 0 / 3.301 GB, free: 223.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002902/5.407, allocations: 201.3 kB / 3.301 GB, free: 223.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/5.407, allocations: 8 kB / 3.301 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/5.407, allocations: 3.953 kB / 3.301 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/5.407, allocations: 4.062 kB / 3.301 GB, free: 223.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/5.408, allocations: 39.97 kB / 3.301 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/5.408, allocations: 7.922 kB / 3.301 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/5.408, allocations: 27.83 kB / 3.301 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/5.408, allocations: 8 kB / 3.301 GB, free: 223.6 MB / 1.167 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 7.975e-05/5.408, allocations: 117.8 kB / 3.301 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/5.408, allocations: 23.72 kB / 3.301 GB, free: 223.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/5.408, allocations: 21.97 kB / 3.301 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/5.408, allocations: 7.953 kB / 3.301 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/5.408, allocations: 0 / 3.301 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/5.408, allocations: 3.984 kB / 3.301 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/5.409, allocations: 0.6952 MB / 3.302 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/5.409, allocations: 0 / 3.302 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/5.409, allocations: 39.91 kB / 3.302 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/5.409, allocations: 4 kB / 3.302 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/5.409, allocations: 16.14 kB / 3.302 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/5.409, allocations: 4 kB / 3.302 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.409, allocations: 4 kB / 3.302 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/5.41, allocations: 429.1 kB / 3.303 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/5.41, allocations: 124.8 kB / 3.303 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/5.41, allocations: 0 / 3.303 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/5.41, allocations: 19.98 kB / 3.303 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/5.41, allocations: 15.88 kB / 3.303 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/5.41, allocations: 15.92 kB / 3.303 GB, free: 221.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001352/5.41, allocations: 173.4 kB / 3.303 GB, free: 221.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.41, allocations: 4 kB / 3.303 GB, free: 221.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006888/5.411, allocations: 131.9 kB / 3.303 GB, free: 221.6 MB / 1.167 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.001405/5.412, allocations: 0.8793 MB / 3.304 GB, free: 220.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003238/5.413, allocations: 165.8 kB / 3.304 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/5.413, allocations: 0 / 3.304 GB, free: 220.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/5.413, allocations: 99.81 kB / 3.304 GB, free: 220.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/5.414, allocations: 120.8 kB / 3.304 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/5.414, allocations: 332 kB / 3.305 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/5.414, allocations: 0.756 MB / 3.305 GB, free: 219.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002325/5.414, allocations: 74.02 kB / 3.305 GB, free: 219.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/5.415, allocations: 27.36 kB / 3.305 GB, free: 219.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.4e-07/5.415, allocations: 0 / 3.305 GB, free: 219.1 MB / 1.167 GB Notification: Performance of Templates: time 0.01918/5.434, allocations: 17.51 MB / 3.323 GB, free: 201.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches