Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0016/0.0016, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001769/0.001769, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.58 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6961/0.9937, allocations: 161.5 MB / 1.184 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.9969, allocations: 1.709 MB / 1.186 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.9973, allocations: 9.844 kB / 1.186 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.998, allocations: 152.2 kB / 1.186 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.9995, allocations: 0.5098 MB / 1.187 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.001, allocations: 430.1 kB / 1.187 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000885/1.002, allocations: 0.5692 MB / 1.188 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/1.002, allocations: 182.7 kB / 1.188 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/1.003, allocations: 317.4 kB / 1.188 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/1.003, allocations: 150.1 kB / 1.188 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/1.003, allocations: 17.09 kB / 1.188 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/1.004, allocations: 0.6957 MB / 1.189 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/1.004, allocations: 78.14 kB / 1.189 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/1.004, allocations: 122.2 kB / 1.189 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007866/1.005, allocations: 499.4 kB / 1.19 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.005, allocations: 0.8438 kB / 1.19 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.863e-06/1.005, allocations: 0 / 1.19 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.005, allocations: 4.969 kB / 1.19 GB, free: 14.59 MB / 0.9044 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.0008445/1.006, allocations: 0.5776 MB / 1.19 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.006, allocations: 10.16 kB / 1.19 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/1.007, allocations: 59.5 kB / 1.19 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/1.007, allocations: 298.3 kB / 1.191 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.007, allocations: 18.5 kB / 1.191 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/1.007, allocations: 16.66 kB / 1.191 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/1.008, allocations: 192.1 kB / 1.191 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.008, allocations: 1.125 kB / 1.191 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/1.008, allocations: 5.031 kB / 1.191 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.008, allocations: 8.297 kB / 1.191 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/1.008, allocations: 130 kB / 1.191 GB, free: 13.52 MB / 0.9044 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.001079/1.009, allocations: 0.7776 MB / 1.192 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/1.009, allocations: 83.97 kB / 1.192 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.009, allocations: 79.22 kB / 1.192 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/1.01, allocations: 188.9 kB / 1.192 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.01, allocations: 34.56 kB / 1.192 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/1.01, allocations: 2.25 kB / 1.192 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006791/1.01, allocations: 218.7 kB / 1.192 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.01, allocations: 55.39 kB / 1.192 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/1.011, allocations: 266.1 kB / 1.193 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/1.011, allocations: 36.52 kB / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/1.011, allocations: 147.5 kB / 1.193 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.011, allocations: 27.5 kB / 1.193 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/1.011, allocations: 29.36 kB / 1.193 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.011, allocations: 335.7 kB / 1.193 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/1.011, allocations: 43.05 kB / 1.193 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/1.011, allocations: 99.33 kB / 1.193 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.012, allocations: 119.2 kB / 1.193 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.012, allocations: 192 / 1.193 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003611/1.012, allocations: 165.9 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.012, allocations: 9.781 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.012, allocations: 1.906 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.012, allocations: 3.938 kB / 1.194 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/1.012, allocations: 21.89 kB / 1.194 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/1.012, allocations: 1.875 kB / 1.194 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.013, allocations: 19.7 kB / 1.194 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.013, allocations: 16.66 kB / 1.194 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002022/1.013, allocations: 150.2 kB / 1.194 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001578/1.013, allocations: 86.05 kB / 1.194 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002498/1.013, allocations: 122.1 kB / 1.194 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/1.013, allocations: 3.938 kB / 1.194 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003226/1.014, allocations: 153 kB / 1.194 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.014, allocations: 8.156 kB / 1.194 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/1.014, allocations: 0 / 1.194 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/1.014, allocations: 2.75 kB / 1.194 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.014, allocations: 28.45 kB / 1.194 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.014, allocations: 5.312 kB / 1.194 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.014, allocations: 20.16 kB / 1.194 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/1.014, allocations: 8.125 kB / 1.194 GB, free: 10.85 MB / 0.9044 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.0001223/1.014, allocations: 192.3 kB / 1.194 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/1.014, allocations: 22.72 kB / 1.194 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/1.014, allocations: 163.8 kB / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.014, allocations: 5.312 kB / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.014, allocations: 1.375 kB / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/1.015, allocations: 0 / 1.195 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009427/1.015, allocations: 0.5891 MB / 1.195 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.015, allocations: 6.688 kB / 1.195 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.016, allocations: 21.86 kB / 1.195 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.016, allocations: 5.406 kB / 1.195 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/1.016, allocations: 8.125 kB / 1.195 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.016, allocations: 1.656 kB / 1.195 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.016, allocations: 2.969 kB / 1.195 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/1.016, allocations: 311.1 kB / 1.196 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.016, allocations: 113.1 kB / 1.196 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/1.016, allocations: 8.125 kB / 1.196 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.016, allocations: 10.86 kB / 1.196 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/1.016, allocations: 13.42 kB / 1.196 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/1.017, allocations: 12.12 kB / 1.196 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001871/1.017, allocations: 197.9 kB / 1.196 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.017, allocations: 0 / 1.196 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005265/1.017, allocations: 93.38 kB / 1.196 GB, free: 9.43 MB / 0.9044 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.0004841/1.018, allocations: 165.2 kB / 1.196 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000488/1.018, allocations: 167.9 kB / 1.196 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.018, allocations: 0 / 1.196 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/1.018, allocations: 61.69 kB / 1.196 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/1.019, allocations: 124.7 kB / 1.196 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/1.02, allocations: 440.1 kB / 1.197 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/1.02, allocations: 0.7581 MB / 1.198 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001916/1.02, allocations: 71.39 kB / 1.198 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/1.02, allocations: 20.06 kB / 1.198 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.02, allocations: 0 / 1.198 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of Templates: time 0.009415/1.03, allocations: 4.383 MB / 1.202 GB, free: 5.848 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches