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.616/2.616, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001124/0.001124, allocations: 186.5 kB / 0.4902 GB, free: 2.23 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.699/1.699, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001158/0.001158, allocations: 100.3 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006144/0.0006145, allocations: 9.688 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3462, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.894/5.24, allocations: 1.866 GB / 3.095 GB, free: 65.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/5.24, allocations: 87.64 kB / 3.095 GB, free: 65.74 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/6.581, allocations: 217.5 MB / 3.308 GB, free: 329.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.332e-06/6.582, allocations: 0 / 3.308 GB, free: 329.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.28e-05/6.582, allocations: 8 kB / 3.308 GB, free: 329.3 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.002148/6.584, allocations: 0.6432 MB / 3.308 GB, free: 328.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/6.584, allocations: 16.81 kB / 3.308 GB, free: 328.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/6.584, allocations: 52.89 kB / 3.309 GB, free: 328.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/6.585, allocations: 283.4 kB / 3.309 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/6.585, allocations: 8 kB / 3.309 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/6.585, allocations: 23.95 kB / 3.309 GB, free: 328.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/6.585, allocations: 245.3 kB / 3.309 GB, free: 327.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/6.585, allocations: 7.984 kB / 3.309 GB, free: 327.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/6.585, allocations: 4 kB / 3.309 GB, free: 327.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/6.586, allocations: 8.328 kB / 3.309 GB, free: 327.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/6.586, allocations: 212.5 kB / 3.309 GB, free: 327.7 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.001552/6.588, allocations: 0.8804 MB / 3.31 GB, free: 326.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/6.588, allocations: 150.4 kB / 3.31 GB, free: 326.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/6.588, allocations: 194.1 kB / 3.31 GB, free: 326.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/6.588, allocations: 34.56 kB / 3.311 GB, free: 326.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/6.588, allocations: 4 kB / 3.311 GB, free: 326.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=14): time 0.0009851/6.589, allocations: 353.4 kB / 3.311 GB, free: 326 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/6.589, allocations: 55.41 kB / 3.311 GB, free: 325.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/6.589, allocations: 212.2 kB / 3.311 GB, free: 325.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/6.59, allocations: 29.7 kB / 3.311 GB, free: 325.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/6.59, allocations: 136.4 kB / 3.311 GB, free: 325.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/6.59, allocations: 47.2 kB / 3.311 GB, free: 325.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/6.59, allocations: 8 kB / 3.311 GB, free: 325.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/6.59, allocations: 334.8 kB / 3.312 GB, free: 325.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/6.59, allocations: 87.92 kB / 3.312 GB, free: 325 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/6.59, allocations: 133.1 kB / 3.312 GB, free: 324.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/6.59, allocations: 95.44 kB / 3.312 GB, free: 324.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/6.591, allocations: 4 kB / 3.312 GB, free: 324.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005609/6.591, allocations: 249.3 kB / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/6.591, allocations: 4 kB / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/6.591, allocations: 0 / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/6.591, allocations: 0 / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/6.591, allocations: 39.91 kB / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/6.591, allocations: 0 / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/6.592, allocations: 39.84 kB / 3.312 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/6.592, allocations: 4 kB / 3.312 GB, free: 324.5 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.0001395/6.592, allocations: 142.5 kB / 3.312 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/6.592, allocations: 31.7 kB / 3.312 GB, free: 324.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/6.592, allocations: 21.84 kB / 3.312 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/6.592, allocations: 4 kB / 3.312 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/6.592, allocations: 0 / 3.312 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/6.592, allocations: 3.984 kB / 3.312 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/6.593, allocations: 0.7379 MB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/6.593, allocations: 4 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/6.593, allocations: 31.97 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/6.593, allocations: 11.92 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/6.593, allocations: 7.984 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/6.593, allocations: 4 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/6.593, allocations: 7.891 kB / 3.313 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/6.594, allocations: 469.4 kB / 3.314 GB, free: 322.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/6.594, allocations: 116.8 kB / 3.314 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/6.594, allocations: 11.98 kB / 3.314 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/6.594, allocations: 24 kB / 3.314 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/6.594, allocations: 15.92 kB / 3.314 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/6.594, allocations: 12 kB / 3.314 GB, free: 322.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001467/6.595, allocations: 176.5 kB / 3.314 GB, free: 322.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.595, allocations: 0 / 3.314 GB, free: 322.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007242/6.595, allocations: 132 kB / 3.314 GB, free: 322.3 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.001475/6.597, allocations: 0.865 MB / 3.315 GB, free: 321.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005112/6.597, allocations: 213.1 kB / 3.315 GB, free: 321.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/6.597, allocations: 4.062 kB / 3.315 GB, free: 321.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/6.598, allocations: 123.8 kB / 3.315 GB, free: 321.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/6.598, allocations: 121.9 kB / 3.315 GB, free: 321 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/6.599, allocations: 0.5112 MB / 3.316 GB, free: 320.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/6.599, allocations: 0.7599 MB / 3.317 GB, free: 319.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002691/6.6, allocations: 69.91 kB / 3.317 GB, free: 319.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/6.6, allocations: 23.42 kB / 3.317 GB, free: 319.6 MB / 1.167 GB Notification: Performance of SimCode: time 3.31e-07/6.6, allocations: 0 / 3.317 GB, free: 319.6 MB / 1.167 GB Notification: Performance of Templates: time 0.01882/6.618, allocations: 15.07 MB / 3.331 GB, free: 304.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