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.336/2.336, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001262/0.001262, allocations: 164.9 kB / 487.4 MB, free: 5.07 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.723/1.723, allocations: 221.5 MB / 0.7824 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001058, allocations: 102.5 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.219e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3442, allocations: 142.4 MB / 1.206 GB, free: 44.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.744/5.089, allocations: 1.865 GB / 3.071 GB, free: 16.86 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/5.089, allocations: 83.95 kB / 3.071 GB, free: 16.78 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.175/6.264, allocations: 214.5 MB / 3.28 GB, free: 267.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.405e-06/6.264, allocations: 4 kB / 3.28 GB, free: 267.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.402e-05/6.264, allocations: 8 kB / 3.28 GB, free: 267.9 MB / 1.151 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.001978/6.266, allocations: 0.6115 MB / 3.281 GB, free: 267.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/6.266, allocations: 8.562 kB / 3.281 GB, free: 267.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005264/6.267, allocations: 51.67 kB / 3.281 GB, free: 267.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/6.267, allocations: 294.2 kB / 3.281 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/6.267, allocations: 11.95 kB / 3.281 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/6.267, allocations: 8 kB / 3.281 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002745/6.268, allocations: 151.9 kB / 3.281 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/6.268, allocations: 198.1 kB / 3.281 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/6.268, allocations: 7.938 kB / 3.282 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/6.268, allocations: 0 / 3.282 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/6.268, allocations: 4.328 kB / 3.282 GB, free: 266.4 MB / 1.151 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.001379/6.269, allocations: 0.8174 MB / 3.282 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/6.27, allocations: 122.5 kB / 3.282 GB, free: 265.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/6.27, allocations: 96.8 kB / 3.283 GB, free: 265.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/6.27, allocations: 190.2 kB / 3.283 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/6.27, allocations: 38.48 kB / 3.283 GB, free: 265.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/6.27, allocations: 0 / 3.283 GB, free: 265.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=14): time 0.0005638/6.271, allocations: 206.5 kB / 3.283 GB, free: 264.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/6.271, allocations: 55.41 kB / 3.283 GB, free: 264.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/6.271, allocations: 157.9 kB / 3.283 GB, free: 264.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/6.271, allocations: 25.7 kB / 3.283 GB, free: 264.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/6.271, allocations: 148.2 kB / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/6.271, allocations: 47.3 kB / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/6.271, allocations: 0 / 3.283 GB, free: 264.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/6.271, allocations: 330.8 kB / 3.284 GB, free: 264.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/6.271, allocations: 63.95 kB / 3.284 GB, free: 264 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/6.271, allocations: 108.2 kB / 3.284 GB, free: 263.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/6.271, allocations: 77.12 kB / 3.284 GB, free: 263.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/6.271, allocations: 0 / 3.284 GB, free: 263.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/6.272, allocations: 194.2 kB / 3.284 GB, free: 263.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/6.272, allocations: 4 kB / 3.284 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/6.272, allocations: 4 kB / 3.284 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/6.272, allocations: 4.062 kB / 3.284 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/6.272, allocations: 43.89 kB / 3.284 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/6.272, allocations: 4 kB / 3.284 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/6.272, allocations: 19.86 kB / 3.284 GB, free: 263.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/6.272, allocations: 12 kB / 3.284 GB, free: 263.5 MB / 1.151 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.584e-05/6.272, allocations: 112.9 kB / 3.284 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/6.272, allocations: 19.81 kB / 3.284 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/6.272, allocations: 21.97 kB / 3.284 GB, free: 263.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/6.272, allocations: 4 kB / 3.284 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/6.272, allocations: 0 / 3.284 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/6.272, allocations: 3.984 kB / 3.284 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/6.273, allocations: 0.6372 MB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/6.273, allocations: 4 kB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/6.273, allocations: 39.84 kB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/6.273, allocations: 4 kB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/6.273, allocations: 7.984 kB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/6.273, allocations: 224 / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/6.273, allocations: 8 kB / 3.285 GB, free: 262.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/6.274, allocations: 424.7 kB / 3.285 GB, free: 262.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/6.274, allocations: 112.9 kB / 3.286 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/6.274, allocations: 4 kB / 3.286 GB, free: 262 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/6.274, allocations: 15.98 kB / 3.286 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/6.274, allocations: 19.88 kB / 3.286 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/6.274, allocations: 8 kB / 3.286 GB, free: 261.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.254e-05/6.274, allocations: 128.2 kB / 3.286 GB, free: 261.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/6.274, allocations: 0 / 3.286 GB, free: 261.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005764/6.275, allocations: 119.8 kB / 3.286 GB, free: 261.7 MB / 1.151 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.001439/6.276, allocations: 1.007 MB / 3.287 GB, free: 260.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002655/6.277, allocations: 155.8 kB / 3.287 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/6.277, allocations: 4 kB / 3.287 GB, free: 260.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/6.277, allocations: 92.34 kB / 3.287 GB, free: 260.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/6.277, allocations: 88.11 kB / 3.287 GB, free: 260.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/6.278, allocations: 315 kB / 3.287 GB, free: 260 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/6.278, allocations: 0.7594 MB / 3.288 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002306/6.278, allocations: 61.81 kB / 3.288 GB, free: 259.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/6.278, allocations: 23.42 kB / 3.288 GB, free: 259.1 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/6.278, allocations: 0 / 3.288 GB, free: 259.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01225/6.291, allocations: 8.162 MB / 3.296 GB, free: 251 MB / 1.151 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