Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001728/0.001728, allocations: 177 kB / 498.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.686/1.686, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001003/0.001004, allocations: 86.86 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004102, allocations: 13.64 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.75, allocations: 1.865 GB / 3.088 GB, free: 150.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.75, allocations: 83.95 kB / 3.088 GB, free: 150.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.174/5.924, allocations: 217.5 MB / 3.301 GB, free: 393.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.954e-06/5.924, allocations: 0 / 3.301 GB, free: 393.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.042e-05/5.924, allocations: 7.906 kB / 3.301 GB, free: 393.6 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.001722/5.926, allocations: 0.642 MB / 3.301 GB, free: 393.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/5.926, allocations: 7.406 kB / 3.301 GB, free: 393.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/5.926, allocations: 42.98 kB / 3.301 GB, free: 393.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/5.927, allocations: 304.5 kB / 3.302 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/5.927, allocations: 11.75 kB / 3.302 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/5.927, allocations: 15.78 kB / 3.302 GB, free: 392.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/5.927, allocations: 244 kB / 3.302 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/5.927, allocations: 3.812 kB / 3.302 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/5.927, allocations: 7.609 kB / 3.302 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/5.927, allocations: 12 kB / 3.302 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/5.928, allocations: 214.2 kB / 3.302 GB, free: 392.6 MB / 1.167 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.001245/5.929, allocations: 0.8802 MB / 3.303 GB, free: 391.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/5.929, allocations: 150.7 kB / 3.303 GB, free: 391.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/5.929, allocations: 195.5 kB / 3.303 GB, free: 391.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/5.929, allocations: 30.56 kB / 3.303 GB, free: 391.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/5.929, allocations: 0 / 3.303 GB, free: 391.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0008804/5.93, allocations: 352.8 kB / 3.304 GB, free: 391.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/5.93, allocations: 57.45 kB / 3.304 GB, free: 391.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/5.931, allocations: 215.4 kB / 3.304 GB, free: 391.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/5.931, allocations: 29.64 kB / 3.304 GB, free: 391.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/5.931, allocations: 142.2 kB / 3.304 GB, free: 391 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/5.931, allocations: 51.41 kB / 3.304 GB, free: 391 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/5.931, allocations: 0 / 3.304 GB, free: 391 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/5.931, allocations: 334.1 kB / 3.305 GB, free: 390.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/5.931, allocations: 80.28 kB / 3.305 GB, free: 390.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/5.931, allocations: 137.1 kB / 3.305 GB, free: 390.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/5.931, allocations: 89.17 kB / 3.305 GB, free: 390.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/5.931, allocations: 3.969 kB / 3.305 GB, free: 390.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004676/5.932, allocations: 256.1 kB / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/5.932, allocations: 6.938 kB / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/5.932, allocations: 0 / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/5.932, allocations: 0 / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/5.932, allocations: 49.03 kB / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/5.932, allocations: 0 / 3.305 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/5.932, allocations: 30.11 kB / 3.305 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/5.933, allocations: 11.92 kB / 3.305 GB, free: 390.3 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 () * Number of clocked 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 0.000113/5.933, allocations: 143 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/5.933, allocations: 19.48 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/5.933, allocations: 36.95 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/5.933, allocations: 0 / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.933, allocations: 3.688 kB / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/5.933, allocations: 0 / 3.305 GB, free: 390.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/5.934, allocations: 0.7366 MB / 3.306 GB, free: 389.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/5.934, allocations: 3.219 kB / 3.306 GB, free: 389.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/5.934, allocations: 41.59 kB / 3.306 GB, free: 389.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/5.934, allocations: 3.062 kB / 3.306 GB, free: 389.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/5.934, allocations: 11.83 kB / 3.306 GB, free: 389.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/5.934, allocations: 7.562 kB / 3.306 GB, free: 389.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/5.934, allocations: 3.938 kB / 3.306 GB, free: 389.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/5.935, allocations: 468.3 kB / 3.307 GB, free: 389.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/5.935, allocations: 118 kB / 3.307 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/5.935, allocations: 6.094 kB / 3.307 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/5.935, allocations: 22.12 kB / 3.307 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/5.935, allocations: 15.72 kB / 3.307 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/5.935, allocations: 7.766 kB / 3.307 GB, free: 389 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001222/5.935, allocations: 176.8 kB / 3.307 GB, free: 388.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.935, allocations: 0 / 3.307 GB, free: 388.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005649/5.936, allocations: 139.3 kB / 3.307 GB, free: 388.8 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 () * Number of clocked 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.001094/5.937, allocations: 0.8713 MB / 3.308 GB, free: 388.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000496/5.937, allocations: 211.7 kB / 3.308 GB, free: 388.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/5.937, allocations: 0 / 3.308 GB, free: 388.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/5.938, allocations: 111.9 kB / 3.308 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/5.938, allocations: 122.6 kB / 3.308 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/5.939, allocations: 0.5035 MB / 3.309 GB, free: 387.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/5.939, allocations: 0.7667 MB / 3.31 GB, free: 387 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002386/5.939, allocations: 73.45 kB / 3.31 GB, free: 387 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/5.939, allocations: 21.72 kB / 3.31 GB, free: 387 MB / 1.167 GB Notification: Performance of SimCode: time 2.41e-07/5.939, allocations: 0 / 3.31 GB, free: 387 MB / 1.167 GB Notification: Performance of Templates: time 0.01913/5.959, allocations: 15.05 MB / 3.324 GB, free: 377 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches