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.000823/0.000823, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008067/0.0008067, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8536/0.8536, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.39e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6032/0.6032, allocations: 142.3 MB / 1.091 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.6053, allocations: 1.616 MB / 1.092 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.6055, allocations: 14.33 kB / 1.092 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.606, allocations: 164.6 kB / 1.092 GB, free: 39.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.6071, allocations: 0.53 MB / 1.093 GB, free: 39.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000893/0.608, allocations: 453.6 kB / 1.093 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.6086, allocations: 0.5772 MB / 1.094 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.6088, allocations: 138.4 kB / 1.094 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005326/0.6094, allocations: 406.7 kB / 1.094 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.6095, allocations: 137.6 kB / 1.095 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.6095, allocations: 16.19 kB / 1.095 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.6103, allocations: 0.5762 MB / 1.095 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.6104, allocations: 88.3 kB / 1.095 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.6104, allocations: 71.8 kB / 1.095 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.611, allocations: 0.5213 MB / 1.096 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.611, allocations: 0 / 1.096 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.611, allocations: 0 / 1.096 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.611, allocations: 4 kB / 1.096 GB, free: 39.18 MB / 0.9948 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.0006029/0.6116, allocations: 0.5215 MB / 1.096 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6116, allocations: 7.875 kB / 1.096 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.6119, allocations: 54.62 kB / 1.096 GB, free: 38.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.6122, allocations: 252.2 kB / 1.097 GB, free: 38.61 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6123, allocations: 12.19 kB / 1.097 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.6123, allocations: 14.28 kB / 1.097 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.6125, allocations: 215.9 kB / 1.097 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6125, allocations: 0 / 1.097 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.6126, allocations: 13 kB / 1.097 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6126, allocations: 6.891 kB / 1.097 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.6127, allocations: 131.1 kB / 1.097 GB, free: 38.43 MB / 0.9948 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.0005819/0.6133, allocations: 0.6234 MB / 1.098 GB, free: 37.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.6135, allocations: 81.2 kB / 1.098 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.6136, allocations: 70.31 kB / 1.098 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.6137, allocations: 44.58 kB / 1.098 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.6137, allocations: 30.56 kB / 1.098 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.6137, allocations: 0 / 1.098 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0003944/0.6141, allocations: 210.9 kB / 1.098 GB, free: 37.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.6142, allocations: 62.16 kB / 1.098 GB, free: 37.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.6143, allocations: 225.1 kB / 1.098 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6143, allocations: 32.89 kB / 1.098 GB, free: 37.53 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.6143, allocations: 149 kB / 1.098 GB, free: 37.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.6144, allocations: 37.55 kB / 1.099 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.6144, allocations: 28.31 kB / 1.099 GB, free: 37.35 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.6145, allocations: 334.2 kB / 1.099 GB, free: 37.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.6145, allocations: 50.17 kB / 1.099 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.6146, allocations: 218 kB / 1.099 GB, free: 36.79 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.6148, allocations: 128 kB / 1.099 GB, free: 36.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6148, allocations: 0 / 1.099 GB, free: 36.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.6149, allocations: 165.5 kB / 1.099 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.615, allocations: 8.156 kB / 1.099 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.615, allocations: 0 / 1.099 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.615, allocations: 2.719 kB / 1.099 GB, free: 36.65 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.615, allocations: 23.97 kB / 1.099 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.615, allocations: 0 / 1.099 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.6151, allocations: 14.92 kB / 1.099 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.6151, allocations: 16.66 kB / 1.099 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.422e-05/0.6152, allocations: 142 kB / 1.1 GB, free: 36.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.038e-05/0.6153, allocations: 226.6 kB / 1.1 GB, free: 36.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000118/0.6154, allocations: 118.9 kB / 1.1 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.6154, allocations: 0 / 1.1 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001635/0.6156, allocations: 161.2 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.6156, allocations: 5.812 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.6156, allocations: 2.562 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.6156, allocations: 3.938 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.6157, allocations: 19.52 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.6157, allocations: 2.344 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.07e-05/0.6157, allocations: 15.53 kB / 1.1 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.6158, allocations: 12.62 kB / 1.1 GB, free: 36.17 MB / 0.9948 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 4.929e-05/0.6158, allocations: 192.9 kB / 1.1 GB, free: 35.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.6158, allocations: 23.64 kB / 1.1 GB, free: 35.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.616, allocations: 153.3 kB / 1.101 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.616, allocations: 2.531 kB / 1.101 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.616, allocations: 0 / 1.101 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6161, allocations: 4.656 kB / 1.101 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.6166, allocations: 0.5167 MB / 1.101 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6166, allocations: 3.078 kB / 1.101 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.6167, allocations: 28.7 kB / 1.101 GB, free: 35.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6167, allocations: 14.78 kB / 1.101 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6167, allocations: 3.25 kB / 1.101 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6167, allocations: 3.375 kB / 1.101 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6167, allocations: 1.688 kB / 1.101 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.6169, allocations: 285.2 kB / 1.101 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.617, allocations: 28.77 kB / 1.101 GB, free: 35.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.617, allocations: 12.27 kB / 1.101 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.6171, allocations: 15.66 kB / 1.101 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.6172, allocations: 17.05 kB / 1.101 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6172, allocations: 6.25 kB / 1.101 GB, free: 35.24 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001235/0.6173, allocations: 169.5 kB / 1.102 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6173, allocations: 0 / 1.102 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003911/0.6177, allocations: 103.6 kB / 1.102 GB, free: 35.12 MB / 0.9948 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.0002671/0.618, allocations: 151.2 kB / 1.102 GB, free: 35.02 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.6183, allocations: 159.7 kB / 1.102 GB, free: 34.98 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6183, allocations: 4.594 kB / 1.102 GB, free: 34.97 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.6185, allocations: 60.11 kB / 1.102 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.6189, allocations: 100.3 kB / 1.102 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.6196, allocations: 467.9 kB / 1.103 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.6197, allocations: 149.1 kB / 1.103 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.6198, allocations: 21.84 kB / 1.103 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/0.6198, allocations: 0 / 1.103 GB, free: 34.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.00529/0.6251, allocations: 3.531 MB / 1.106 GB, free: 34.14 MB / 0.9948 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: 7.574292158707976]