Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 195.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 68.78 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3173, allocations: 159.1 MB / 1.064 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7138/1.031, allocations: 159.3 MB / 1.22 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0033/1.035, allocations: 1.693 MB / 1.221 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/1.035, allocations: 9.562 kB / 1.221 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006122/1.036, allocations: 136.9 kB / 1.222 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/1.037, allocations: 494.8 kB / 1.222 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/1.038, allocations: 381.9 kB / 1.222 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008379/1.039, allocations: 0.5658 MB / 1.223 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/1.039, allocations: 178.4 kB / 1.223 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/1.04, allocations: 314.8 kB / 1.223 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/1.04, allocations: 168.3 kB / 1.224 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/1.04, allocations: 12.25 kB / 1.224 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/1.042, allocations: 0.7181 MB / 1.224 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-05/1.042, allocations: 73.98 kB / 1.224 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/1.042, allocations: 124.4 kB / 1.224 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005233/1.042, allocations: 346.7 kB / 1.225 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.042, allocations: 0 / 1.225 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/1.042, allocations: 0 / 1.225 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.042, allocations: 0 / 1.225 GB, free: 3.121 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009174/1.043, allocations: 0.5867 MB / 1.225 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/1.043, allocations: 14.34 kB / 1.225 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.044, allocations: 50.3 kB / 1.225 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/1.044, allocations: 289.2 kB / 1.226 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.044, allocations: 9.531 kB / 1.226 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/1.044, allocations: 14.91 kB / 1.226 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/1.045, allocations: 188 kB / 1.226 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.045, allocations: 0 / 1.226 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/1.045, allocations: 8 kB / 1.226 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.045, allocations: 9.031 kB / 1.226 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/1.045, allocations: 128.3 kB / 1.226 GB, free: 2.066 MB / 0.9356 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.001194/1.046, allocations: 0.7916 MB / 1.227 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/1.046, allocations: 78.22 kB / 1.227 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/1.047, allocations: 80.12 kB / 1.227 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/1.047, allocations: 185.4 kB / 1.227 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/1.047, allocations: 42.48 kB / 1.227 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/1.047, allocations: 0 / 1.227 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006452/1.048, allocations: 222.1 kB / 1.227 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.048, allocations: 54.16 kB / 1.227 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/1.048, allocations: 265.7 kB / 1.228 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.048, allocations: 31.48 kB / 1.228 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.048, allocations: 144.1 kB / 1.228 GB, free: 484 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/1.048, allocations: 36.19 kB / 1.228 GB, free: 452 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/1.048, allocations: 41.34 kB / 1.228 GB, free: 416 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.048, allocations: 331.8 kB / 1.228 GB, free: 80 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.048, allocations: 42.27 kB / 1.228 GB, free: 56 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.049, allocations: 96.95 kB / 1.228 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/1.049, allocations: 122 kB / 1.228 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.049, allocations: 0 / 1.228 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003272/1.049, allocations: 157.3 kB / 1.229 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.049, allocations: 5.5 kB / 1.229 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.049, allocations: 6.469 kB / 1.229 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.049, allocations: 3.938 kB / 1.229 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.049, allocations: 26.39 kB / 1.229 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.049, allocations: 0 / 1.229 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/1.05, allocations: 22.05 kB / 1.229 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/1.05, allocations: 9.516 kB / 1.229 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001887/1.05, allocations: 146.3 kB / 1.229 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001493/1.05, allocations: 94.86 kB / 1.229 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002525/1.05, allocations: 121.5 kB / 1.229 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/1.05, allocations: 4 kB / 1.229 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002963/1.051, allocations: 153.5 kB / 1.229 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.051, allocations: 8.922 kB / 1.229 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/1.051, allocations: 0 / 1.229 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/1.051, allocations: 2.594 kB / 1.229 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/1.051, allocations: 19.7 kB / 1.229 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.051, allocations: 10.66 kB / 1.229 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.051, allocations: 23.67 kB / 1.229 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.051, allocations: 5.375 kB / 1.229 GB, free: 15.38 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/1.051, allocations: 185.2 kB / 1.229 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/1.051, allocations: 22.06 kB / 1.229 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/1.052, allocations: 160.5 kB / 1.23 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/1.052, allocations: 3.938 kB / 1.23 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.052, allocations: 5.781 kB / 1.23 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.052, allocations: 4.078 kB / 1.23 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/1.053, allocations: 0.5908 MB / 1.23 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.053, allocations: 0 / 1.23 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/1.053, allocations: 25.23 kB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.053, allocations: 7.125 kB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.053, allocations: 3.188 kB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.053, allocations: 1.625 kB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.053, allocations: 3.188 kB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/1.053, allocations: 299.7 kB / 1.231 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/1.053, allocations: 118.4 kB / 1.231 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/1.053, allocations: 6.328 kB / 1.231 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/1.054, allocations: 15.33 kB / 1.231 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/1.054, allocations: 16.52 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/1.054, allocations: 4.969 kB / 1.231 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001848/1.054, allocations: 198 kB / 1.231 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.054, allocations: 2.344 kB / 1.231 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004799/1.054, allocations: 91.41 kB / 1.231 GB, free: 13.92 MB / 0.9512 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004215/1.055, allocations: 178.2 kB / 1.231 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004753/1.055, allocations: 163.8 kB / 1.231 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/1.055, allocations: 4.125 kB / 1.231 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/1.055, allocations: 63.89 kB / 1.231 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/1.056, allocations: 125.4 kB / 1.231 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/1.057, allocations: 0.5266 MB / 1.232 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/1.058, allocations: 0.7558 MB / 1.233 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/1.058, allocations: 23.44 kB / 1.233 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/1.058, allocations: 0 / 1.233 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of Templates: time 0.006854/1.064, allocations: 3.693 MB / 1.236 GB, free: 8.371 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches