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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 209.4 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7706 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 67.28 kB / 1.118 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4509, allocations: 169.9 MB / 1.284 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.228/0.6789, allocations: 165.1 MB / 1.445 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003685/0.6826, allocations: 1.718 MB / 1.447 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.683, allocations: 19.81 kB / 1.447 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.6837, allocations: 166.9 kB / 1.447 GB, free: 11.73 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.6854, allocations: 0.5342 MB / 1.447 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.6868, allocations: 449.1 kB / 1.448 GB, free: 10.76 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009245/0.6877, allocations: 0.581 MB / 1.448 GB, free: 10.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.688, allocations: 140.7 kB / 1.449 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.6888, allocations: 330.7 kB / 1.449 GB, free: 9.715 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.689, allocations: 163.3 kB / 1.449 GB, free: 9.555 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.689, allocations: 12 kB / 1.449 GB, free: 9.543 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.6904, allocations: 0.7327 MB / 1.45 GB, free: 8.809 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.6905, allocations: 83.73 kB / 1.45 GB, free: 8.727 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.6907, allocations: 119.3 kB / 1.45 GB, free: 8.609 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.6915, allocations: 0.4982 MB / 1.45 GB, free: 8.109 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6915, allocations: 0 / 1.45 GB, free: 8.109 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6915, allocations: 0 / 1.45 GB, free: 8.109 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.6915, allocations: 4 kB / 1.45 GB, free: 8.105 MB / 1.154 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.001005/0.6925, allocations: 0.5157 MB / 1.451 GB, free: 7.559 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6926, allocations: 12.03 kB / 1.451 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.6929, allocations: 55.83 kB / 1.451 GB, free: 7.492 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.6935, allocations: 247.6 kB / 1.451 GB, free: 7.227 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6935, allocations: 8 kB / 1.451 GB, free: 7.219 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.6935, allocations: 20 kB / 1.451 GB, free: 7.199 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.6939, allocations: 200.5 kB / 1.451 GB, free: 6.988 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.694, allocations: 0 / 1.451 GB, free: 6.988 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.694, allocations: 4 kB / 1.451 GB, free: 6.984 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.694, allocations: 7.938 kB / 1.451 GB, free: 6.977 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.6943, allocations: 123.9 kB / 1.452 GB, free: 6.855 MB / 1.154 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.001192/0.6955, allocations: 0.7527 MB / 1.452 GB, free: 6.039 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.6958, allocations: 82.53 kB / 1.452 GB, free: 5.949 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.6959, allocations: 76.86 kB / 1.452 GB, free: 5.871 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.6962, allocations: 27.98 kB / 1.452 GB, free: 5.844 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6962, allocations: 38.5 kB / 1.452 GB, free: 5.797 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.6962, allocations: 4 kB / 1.452 GB, free: 5.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0006942/0.6969, allocations: 221.3 kB / 1.453 GB, free: 5.57 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.6969, allocations: 55.41 kB / 1.453 GB, free: 5.504 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6972, allocations: 268.2 kB / 1.453 GB, free: 5.234 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.6973, allocations: 25.7 kB / 1.453 GB, free: 5.203 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.6974, allocations: 148 kB / 1.453 GB, free: 5.055 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.6974, allocations: 35.69 kB / 1.453 GB, free: 5.02 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.6975, allocations: 29.72 kB / 1.453 GB, free: 4.984 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6977, allocations: 330.8 kB / 1.454 GB, free: 4.652 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.6978, allocations: 48.83 kB / 1.454 GB, free: 4.602 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.698, allocations: 97.16 kB / 1.454 GB, free: 4.488 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.6983, allocations: 119.3 kB / 1.454 GB, free: 4.359 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6983, allocations: 0 / 1.454 GB, free: 4.359 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003555/0.6986, allocations: 165.3 kB / 1.454 GB, free: 4.191 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6987, allocations: 8 kB / 1.454 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.6987, allocations: 4.5 kB / 1.454 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.6987, allocations: 3.938 kB / 1.454 GB, free: 4.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.6988, allocations: 19.98 kB / 1.454 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6988, allocations: 4 kB / 1.454 GB, free: 4.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.699, allocations: 24 kB / 1.454 GB, free: 4.129 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.699, allocations: 8 kB / 1.454 GB, free: 4.121 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002159/0.6992, allocations: 152.1 kB / 1.454 GB, free: 3.969 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001719/0.6994, allocations: 93.05 kB / 1.454 GB, free: 3.859 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002573/0.6997, allocations: 127.3 kB / 1.454 GB, free: 3.723 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.6997, allocations: 0 / 1.454 GB, free: 3.723 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003525/0.7, allocations: 149.4 kB / 1.455 GB, free: 3.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.7, allocations: 8 kB / 1.455 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.7, allocations: 0 / 1.455 GB, free: 3.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.7, allocations: 4 kB / 1.455 GB, free: 3.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.7002, allocations: 27.92 kB / 1.455 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7002, allocations: 3.938 kB / 1.455 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.7003, allocations: 16.02 kB / 1.455 GB, free: 3.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.7003, allocations: 4 kB / 1.455 GB, free: 3.508 MB / 1.154 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.0001363/0.7005, allocations: 184.3 kB / 1.455 GB, free: 3.32 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.7005, allocations: 27.81 kB / 1.455 GB, free: 3.293 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.7009, allocations: 163.2 kB / 1.455 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7009, allocations: 4 kB / 1.455 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7009, allocations: 4 kB / 1.455 GB, free: 3.117 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7009, allocations: 3.984 kB / 1.455 GB, free: 3.113 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009583/0.7019, allocations: 0.5616 MB / 1.456 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.7019, allocations: 0 / 1.456 GB, free: 2.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.702, allocations: 27.92 kB / 1.456 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.702, allocations: 0 / 1.456 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.702, allocations: 4 kB / 1.456 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.702, allocations: 4 kB / 1.456 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.702, allocations: 0 / 1.456 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.7025, allocations: 305.9 kB / 1.456 GB, free: 2.109 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.7026, allocations: 43.78 kB / 1.456 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.7026, allocations: 8.094 kB / 1.456 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.7028, allocations: 19.92 kB / 1.456 GB, free: 2.039 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.7028, allocations: 15.86 kB / 1.456 GB, free: 2.023 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.7029, allocations: 4 kB / 1.456 GB, free: 2.02 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002095/0.7031, allocations: 199.1 kB / 1.456 GB, free: 1.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.7031, allocations: 4 kB / 1.456 GB, free: 1.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004792/0.7035, allocations: 99.83 kB / 1.456 GB, free: 1.723 MB / 1.154 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.0002958/0.7038, allocations: 147.1 kB / 1.456 GB, free: 1.57 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.7043, allocations: 159.8 kB / 1.457 GB, free: 1.414 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7043, allocations: 0 / 1.457 GB, free: 1.414 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.7045, allocations: 60.47 kB / 1.457 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007465/0.7052, allocations: 113.6 kB / 1.457 GB, free: 1.25 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.706, allocations: 445 kB / 1.457 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.7065, allocations: 0.7597 MB / 1.458 GB, free: 15.98 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.7067, allocations: 70.53 kB / 1.458 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.7068, allocations: 27.44 kB / 1.458 GB, free: 15.89 MB / 1.17 GB Notification: Performance of SimCode: time 3.11e-07/0.7068, allocations: 0 / 1.458 GB, free: 15.89 MB / 1.17 GB Notification: Performance of Templates: time 0.01027/0.717, allocations: 4.488 MB / 1.462 GB, free: 11.46 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.990034370217472]