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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 118.7 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3722, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 1.074/1.446, allocations: 162 MB / 1.372 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003646/1.45, allocations: 1.717 MB / 1.374 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/1.45, allocations: 10.09 kB / 1.374 GB, free: 14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006681/1.451, allocations: 163.3 kB / 1.374 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/1.452, allocations: 0.5305 MB / 1.375 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.454, allocations: 422 kB / 1.375 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001024/1.455, allocations: 0.5774 MB / 1.376 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/1.455, allocations: 156.4 kB / 1.376 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008046/1.456, allocations: 330.3 kB / 1.376 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/1.456, allocations: 157.7 kB / 1.376 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/1.456, allocations: 13.06 kB / 1.376 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/1.458, allocations: 0.7157 MB / 1.377 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/1.458, allocations: 91.28 kB / 1.377 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/1.458, allocations: 118.9 kB / 1.377 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/1.459, allocations: 0.4902 MB / 1.378 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.459, allocations: 1.25 kB / 1.378 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/1.459, allocations: 0 / 1.378 GB, free: 12.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.704e-06/1.459, allocations: 0 / 1.378 GB, free: 12.36 MB / 1.061 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.001029/1.46, allocations: 0.5957 MB / 1.378 GB, free: 11.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.46, allocations: 11.36 kB / 1.378 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/1.46, allocations: 58.53 kB / 1.378 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/1.461, allocations: 305.1 kB / 1.379 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.461, allocations: 14.5 kB / 1.379 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/1.461, allocations: 14.44 kB / 1.379 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/1.462, allocations: 189.8 kB / 1.379 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.462, allocations: 0 / 1.379 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/1.462, allocations: 6.656 kB / 1.379 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/1.462, allocations: 3.062 kB / 1.379 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/1.462, allocations: 128.5 kB / 1.379 GB, free: 11.41 MB / 1.061 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.001185/1.463, allocations: 0.7771 MB / 1.38 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/1.463, allocations: 86.27 kB / 1.38 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.464, allocations: 76.7 kB / 1.38 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/1.464, allocations: 190.3 kB / 1.38 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/1.464, allocations: 40.83 kB / 1.38 GB, free: 10.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/1.464, allocations: 1.156 kB / 1.38 GB, free: 10.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0007345/1.465, allocations: 218.9 kB / 1.38 GB, free: 10.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/1.465, allocations: 52.56 kB / 1.38 GB, free: 10.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/1.465, allocations: 272.5 kB / 1.381 GB, free: 10.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/1.465, allocations: 26.8 kB / 1.381 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.465, allocations: 146.7 kB / 1.381 GB, free: 10.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/1.465, allocations: 36.16 kB / 1.381 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/1.465, allocations: 31.28 kB / 1.381 GB, free: 9.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.465, allocations: 332.2 kB / 1.381 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/1.466, allocations: 46.98 kB / 1.381 GB, free: 9.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/1.466, allocations: 97.16 kB / 1.381 GB, free: 9.562 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/1.466, allocations: 124.6 kB / 1.381 GB, free: 9.496 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.466, allocations: 5.25 kB / 1.381 GB, free: 9.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003552/1.466, allocations: 155.1 kB / 1.382 GB, free: 9.422 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.466, allocations: 5.875 kB / 1.382 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.466, allocations: 1.094 kB / 1.382 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.466, allocations: 5.062 kB / 1.382 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.467, allocations: 21.59 kB / 1.382 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/1.467, allocations: 9.266 kB / 1.382 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/1.467, allocations: 24.41 kB / 1.382 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/1.467, allocations: 11.09 kB / 1.382 GB, free: 9.398 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002447/1.467, allocations: 146.3 kB / 1.382 GB, free: 9.297 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001724/1.467, allocations: 90.81 kB / 1.382 GB, free: 9.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002704/1.467, allocations: 123.1 kB / 1.382 GB, free: 9.172 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/1.468, allocations: 0 / 1.382 GB, free: 9.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000327/1.468, allocations: 155.2 kB / 1.382 GB, free: 9.102 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.468, allocations: 5.344 kB / 1.382 GB, free: 9.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/1.468, allocations: 5.188 kB / 1.382 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-06/1.468, allocations: 1.25 kB / 1.382 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/1.468, allocations: 33.75 kB / 1.382 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.468, allocations: 5.062 kB / 1.382 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/1.468, allocations: 12.42 kB / 1.382 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/1.468, allocations: 4 kB / 1.382 GB, free: 9.082 MB / 1.061 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.0001376/1.468, allocations: 186.5 kB / 1.382 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/1.468, allocations: 23.61 kB / 1.382 GB, free: 8.887 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/1.469, allocations: 162.7 kB / 1.382 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.469, allocations: 5.062 kB / 1.382 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.469, allocations: 3.625 kB / 1.383 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.469, allocations: 0 / 1.383 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.47, allocations: 0.6017 MB / 1.383 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.47, allocations: 1.406 kB / 1.383 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.47, allocations: 21.45 kB / 1.383 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.47, allocations: 2.625 kB / 1.383 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.47, allocations: 2.875 kB / 1.383 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.47, allocations: 2.438 kB / 1.383 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.47, allocations: 11.19 kB / 1.383 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/1.47, allocations: 299.2 kB / 1.383 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.47, allocations: 109 kB / 1.384 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/1.471, allocations: 3.938 kB / 1.384 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.471, allocations: 14.45 kB / 1.384 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/1.471, allocations: 14.3 kB / 1.384 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/1.471, allocations: 7.906 kB / 1.384 GB, free: 7.887 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002114/1.471, allocations: 198.7 kB / 1.384 GB, free: 7.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.471, allocations: 0 / 1.384 GB, free: 7.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005189/1.472, allocations: 93.52 kB / 1.384 GB, free: 7.734 MB / 1.061 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.0004687/1.472, allocations: 173.1 kB / 1.384 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000505/1.472, allocations: 163.9 kB / 1.384 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.472, allocations: 0 / 1.384 GB, free: 7.535 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/1.473, allocations: 65.39 kB / 1.384 GB, free: 7.504 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/1.473, allocations: 114.8 kB / 1.384 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/1.474, allocations: 476.4 kB / 1.385 GB, free: 7.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/1.475, allocations: 0.7531 MB / 1.386 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/1.475, allocations: 20.88 kB / 1.386 GB, free: 6.332 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.475, allocations: 0 / 1.386 GB, free: 6.332 MB / 1.061 GB Notification: Performance of Templates: time 0.006999/1.482, allocations: 3.74 MB / 1.389 GB, free: 4.41 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.833475907798856]