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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001495/0.001495, allocations: 102.2 kB / 16.27 MB, free: 6 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.001545/0.001545, allocations: 191 kB / 17.2 MB, free: 5.609 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 75.92 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8119, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2052/1.017, allocations: 161.5 MB / 1.241 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003036/1.02, allocations: 1.715 MB / 1.242 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/1.021, allocations: 11.94 kB / 1.242 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/1.021, allocations: 166.9 kB / 1.242 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/1.023, allocations: 0.4978 MB / 1.243 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/1.024, allocations: 413.5 kB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008268/1.025, allocations: 0.5654 MB / 1.244 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/1.025, allocations: 180.5 kB / 1.244 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/1.026, allocations: 474.2 kB / 1.245 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/1.026, allocations: 143.3 kB / 1.245 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/1.026, allocations: 12 kB / 1.245 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/1.027, allocations: 0.686 MB / 1.245 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/1.028, allocations: 83.72 kB / 1.245 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/1.028, allocations: 115.4 kB / 1.246 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007748/1.029, allocations: 498.5 kB / 1.246 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/1.029, allocations: 0 / 1.246 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.71e-07/1.029, allocations: 0 / 1.246 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.034e-05/1.029, allocations: 0 / 1.246 GB, free: 7.387 MB / 0.9669 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.0008649/1.029, allocations: 0.5877 MB / 1.247 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.029, allocations: 8.031 kB / 1.247 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/1.03, allocations: 55.69 kB / 1.247 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/1.03, allocations: 297.2 kB / 1.247 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.03, allocations: 8 kB / 1.247 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/1.03, allocations: 16 kB / 1.247 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/1.031, allocations: 196.1 kB / 1.247 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.031, allocations: 0 / 1.247 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.031, allocations: 4 kB / 1.247 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/1.031, allocations: 11.94 kB / 1.247 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/1.031, allocations: 123.8 kB / 1.247 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/1.032, allocations: 0.7887 MB / 1.248 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/1.032, allocations: 86.47 kB / 1.248 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/1.033, allocations: 76.88 kB / 1.248 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/1.033, allocations: 186.2 kB / 1.248 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.033, allocations: 38.56 kB / 1.248 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/1.033, allocations: 0 / 1.248 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006893/1.034, allocations: 221.2 kB / 1.249 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/1.034, allocations: 51.41 kB / 1.249 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/1.034, allocations: 267 kB / 1.249 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.034, allocations: 29.7 kB / 1.249 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.034, allocations: 144 kB / 1.249 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/1.034, allocations: 35.45 kB / 1.249 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/1.034, allocations: 37.7 kB / 1.249 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.035, allocations: 326.8 kB / 1.249 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/1.035, allocations: 52.75 kB / 1.25 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.035, allocations: 93.05 kB / 1.25 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.035, allocations: 127.3 kB / 1.25 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.035, allocations: 0 / 1.25 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003443/1.035, allocations: 153.3 kB / 1.25 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.035, allocations: 6.5 kB / 1.25 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.036, allocations: 12.02 kB / 1.25 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.036, allocations: 3.938 kB / 1.25 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/1.036, allocations: 23.92 kB / 1.25 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.036, allocations: 4.562 kB / 1.25 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/1.036, allocations: 15.92 kB / 1.25 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/1.036, allocations: 8 kB / 1.25 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001995/1.036, allocations: 141 kB / 1.25 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/1.036, allocations: 105 kB / 1.25 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002465/1.037, allocations: 115.4 kB / 1.25 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/1.037, allocations: 0 / 1.25 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003255/1.037, allocations: 161.3 kB / 1.25 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.037, allocations: 8 kB / 1.25 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/1.037, allocations: 0 / 1.25 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/1.037, allocations: 0 / 1.25 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.037, allocations: 27.86 kB / 1.251 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.037, allocations: 4 kB / 1.251 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.037, allocations: 11.98 kB / 1.251 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/1.037, allocations: 12.02 kB / 1.251 GB, free: 2.414 MB / 0.9669 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.0001144/1.037, allocations: 184.3 kB / 1.251 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/1.037, allocations: 23.72 kB / 1.251 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/1.038, allocations: 163.2 kB / 1.251 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.038, allocations: 0 / 1.251 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.038, allocations: 0 / 1.251 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.038, allocations: 0 / 1.251 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/1.039, allocations: 0.5938 MB / 1.251 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.039, allocations: 8.062 kB / 1.251 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/1.039, allocations: 19.98 kB / 1.251 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.039, allocations: 7.984 kB / 1.251 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.039, allocations: 4.125 kB / 1.252 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/1.039, allocations: 4 kB / 1.252 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.039, allocations: 15.86 kB / 1.252 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/1.039, allocations: 293.1 kB / 1.252 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.039, allocations: 120.7 kB / 1.252 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/1.039, allocations: 4.375 kB / 1.252 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/1.04, allocations: 15.98 kB / 1.252 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.04, allocations: 11.92 kB / 1.252 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/1.04, allocations: 8 kB / 1.252 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001804/1.04, allocations: 197.9 kB / 1.252 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.04, allocations: 0 / 1.252 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004564/1.04, allocations: 99.83 kB / 1.252 GB, free: 0.5156 MB / 0.9669 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.0003754/1.041, allocations: 169.1 kB / 1.252 GB, free: 356 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000465/1.041, allocations: 163.8 kB / 1.253 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.041, allocations: 0 / 1.253 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.041, allocations: 68.39 kB / 1.253 GB, free: 124 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/1.042, allocations: 111.9 kB / 1.253 GB, free: 16 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/1.043, allocations: 474.7 kB / 1.253 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/1.043, allocations: 0.7558 MB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/1.043, allocations: 23.44 kB / 1.254 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/1.043, allocations: 0 / 1.254 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.006383/1.05, allocations: 3.714 MB / 1.258 GB, free: 11.02 MB / 0.9825 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=400 -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