Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001995/0.001995, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002246/0.002246, allocations: 199.6 kB / 16.14 MB, free: 6.629 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.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8378, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2199/1.058, allocations: 159.3 MB / 1.172 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003892/1.062, allocations: 1.729 MB / 1.174 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005204/1.062, allocations: 11.94 kB / 1.174 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/1.063, allocations: 139.2 kB / 1.174 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/1.064, allocations: 486 kB / 1.174 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/1.066, allocations: 378.7 kB / 1.175 GB, free: 168 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001072/1.067, allocations: 0.7604 MB / 1.176 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/1.067, allocations: 152.5 kB / 1.176 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006913/1.068, allocations: 298.7 kB / 1.176 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/1.068, allocations: 159.3 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/1.068, allocations: 8 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/1.07, allocations: 0.7716 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/1.07, allocations: 79.67 kB / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/1.07, allocations: 115.3 kB / 1.177 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00086/1.071, allocations: 0.5102 MB / 1.178 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.071, allocations: 8 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/1.071, allocations: 0 / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.071, allocations: 0 / 1.178 GB, free: 13.31 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.001039/1.072, allocations: 0.5761 MB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.072, allocations: 12.02 kB / 1.178 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/1.072, allocations: 59.67 kB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/1.073, allocations: 289.2 kB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.073, allocations: 12 kB / 1.179 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/1.073, allocations: 16 kB / 1.179 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/1.073, allocations: 200 kB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.073, allocations: 0 / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/1.073, allocations: 12 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/1.073, allocations: 0 / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/1.074, allocations: 123.9 kB / 1.179 GB, free: 11.92 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.001285/1.075, allocations: 0.7924 MB / 1.18 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.075, allocations: 82.53 kB / 1.18 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/1.075, allocations: 80.8 kB / 1.18 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/1.076, allocations: 190.2 kB / 1.18 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.076, allocations: 34.56 kB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/1.076, allocations: 0 / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000759/1.077, allocations: 209.3 kB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/1.077, allocations: 59.41 kB / 1.18 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/1.077, allocations: 271 kB / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/1.077, allocations: 25.7 kB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/1.077, allocations: 147.9 kB / 1.181 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/1.077, allocations: 31.55 kB / 1.181 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/1.077, allocations: 37.61 kB / 1.181 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.078, allocations: 326.8 kB / 1.181 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/1.078, allocations: 57.19 kB / 1.181 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/1.078, allocations: 92.98 kB / 1.181 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/1.078, allocations: 127.3 kB / 1.181 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.078, allocations: 0 / 1.181 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003617/1.079, allocations: 145.4 kB / 1.181 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.079, allocations: 8 kB / 1.181 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.079, allocations: 0 / 1.181 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.079, allocations: 3.938 kB / 1.181 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.079, allocations: 27.97 kB / 1.182 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.079, allocations: 4 kB / 1.182 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/1.079, allocations: 27.8 kB / 1.182 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/1.079, allocations: 8 kB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002172/1.079, allocations: 144.1 kB / 1.182 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001866/1.08, allocations: 93.09 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002539/1.08, allocations: 127.4 kB / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/1.08, allocations: 0 / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003554/1.08, allocations: 153.3 kB / 1.182 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.08, allocations: 4.031 kB / 1.182 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-06/1.08, allocations: 4 kB / 1.182 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/1.08, allocations: 4 kB / 1.182 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.08, allocations: 31.86 kB / 1.182 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/1.08, allocations: 0 / 1.182 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/1.081, allocations: 15.98 kB / 1.182 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/1.081, allocations: 8.109 kB / 1.182 GB, free: 8.34 MB / 0.9356 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.0001322/1.081, allocations: 188.3 kB / 1.182 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/1.081, allocations: 27.72 kB / 1.182 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/1.081, allocations: 163.2 kB / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.081, allocations: 0 / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.081, allocations: 480 / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.081, allocations: 0 / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/1.082, allocations: 0.5975 MB / 1.183 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.082, allocations: 4 kB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/1.082, allocations: 24.19 kB / 1.183 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.082, allocations: 11.94 kB / 1.183 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.082, allocations: 4 kB / 1.183 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.082, allocations: 0 / 1.183 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.082, allocations: 4 kB / 1.183 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/1.083, allocations: 293.1 kB / 1.183 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/1.083, allocations: 112.8 kB / 1.183 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/1.083, allocations: 4 kB / 1.183 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/1.083, allocations: 19.89 kB / 1.184 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/1.083, allocations: 20.11 kB / 1.184 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.083, allocations: 4 kB / 1.184 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002205/1.083, allocations: 197.9 kB / 1.184 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.084, allocations: 0 / 1.184 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004889/1.084, allocations: 87.84 kB / 1.184 GB, free: 6.453 MB / 0.9356 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.0004877/1.084, allocations: 172.5 kB / 1.184 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004916/1.085, allocations: 159.8 kB / 1.184 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.085, allocations: 0 / 1.184 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.085, allocations: 56.45 kB / 1.184 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/1.086, allocations: 141.3 kB / 1.184 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/1.087, allocations: 498.9 kB / 1.185 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/1.087, allocations: 0.756 MB / 1.186 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002412/1.088, allocations: 74.2 kB / 1.186 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/1.088, allocations: 23.44 kB / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/1.088, allocations: 0 / 1.186 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.009817/1.097, allocations: 4.28 MB / 1.19 GB, free: 312 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches