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.001283/0.001283, allocations: 114 kB / 17.08 MB, free: 5.789 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.001608/0.001608, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.423/1.423, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.664/2.664, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 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.002221/0.002221, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3508, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9081/1.259, allocations: 161.5 MB / 1.334 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004101/1.263, allocations: 1.711 MB / 1.335 GB, free: 6.129 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006284/1.264, allocations: 10.84 kB / 1.335 GB, free: 6.125 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007967/1.265, allocations: 157.5 kB / 1.335 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/1.267, allocations: 0.5098 MB / 1.336 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/1.268, allocations: 423.6 kB / 1.336 GB, free: 5.566 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001715/1.27, allocations: 0.5763 MB / 1.337 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007139/1.271, allocations: 177 kB / 1.337 GB, free: 5.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/1.272, allocations: 320 kB / 1.337 GB, free: 5.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/1.273, allocations: 154.5 kB / 1.337 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/1.273, allocations: 13.31 kB / 1.337 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/1.276, allocations: 0.6997 MB / 1.338 GB, free: 4.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.276, allocations: 75.39 kB / 1.338 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003857/1.276, allocations: 120.7 kB / 1.338 GB, free: 4.672 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/1.279, allocations: 0.4892 MB / 1.339 GB, free: 4.504 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.279, allocations: 5.094 kB / 1.339 GB, free: 4.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.367e-06/1.279, allocations: 0 / 1.339 GB, free: 4.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.953e-05/1.279, allocations: 0 / 1.339 GB, free: 4.5 MB / 1.014 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.001844/1.281, allocations: 0.593 MB / 1.339 GB, free: 3.98 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.281, allocations: 10.34 kB / 1.339 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/1.281, allocations: 57.59 kB / 1.339 GB, free: 3.961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/1.282, allocations: 306.1 kB / 1.34 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/1.282, allocations: 15.11 kB / 1.34 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.753e-05/1.282, allocations: 14.09 kB / 1.34 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/1.283, allocations: 185.6 kB / 1.34 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/1.283, allocations: 0 / 1.34 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/1.283, allocations: 5.438 kB / 1.34 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/1.283, allocations: 7.938 kB / 1.34 GB, free: 3.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/1.283, allocations: 133.8 kB / 1.34 GB, free: 3.551 MB / 1.014 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.001494/1.285, allocations: 0.7883 MB / 1.341 GB, free: 2.918 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/1.285, allocations: 80.59 kB / 1.341 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/1.285, allocations: 74.27 kB / 1.341 GB, free: 2.855 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/1.286, allocations: 184.9 kB / 1.341 GB, free: 2.668 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.286, allocations: 43.78 kB / 1.341 GB, free: 2.617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/1.286, allocations: 0 / 1.341 GB, free: 2.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007845/1.286, allocations: 215.4 kB / 1.341 GB, free: 2.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/1.287, allocations: 53.28 kB / 1.342 GB, free: 2.473 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.287, allocations: 275.7 kB / 1.342 GB, free: 2.324 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.287, allocations: 29.64 kB / 1.342 GB, free: 2.289 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/1.287, allocations: 152.5 kB / 1.342 GB, free: 2.156 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/1.287, allocations: 35.03 kB / 1.342 GB, free: 2.129 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/1.287, allocations: 31.31 kB / 1.342 GB, free: 2.105 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.287, allocations: 332.5 kB / 1.342 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.288, allocations: 46.58 kB / 1.342 GB, free: 1.766 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/1.288, allocations: 92.52 kB / 1.342 GB, free: 1.703 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/1.288, allocations: 123.7 kB / 1.343 GB, free: 1.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.288, allocations: 4 kB / 1.343 GB, free: 1.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003664/1.288, allocations: 160.9 kB / 1.343 GB, free: 1.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.288, allocations: 5.312 kB / 1.343 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.288, allocations: 1.625 kB / 1.343 GB, free: 1.562 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/1.288, allocations: 5.031 kB / 1.343 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.289, allocations: 26.45 kB / 1.343 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.289, allocations: 1.469 kB / 1.343 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/1.289, allocations: 25.48 kB / 1.343 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/1.289, allocations: 4.438 kB / 1.343 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002017/1.289, allocations: 147.1 kB / 1.343 GB, free: 1.441 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/1.289, allocations: 90.06 kB / 1.343 GB, free: 1.379 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000263/1.29, allocations: 125.1 kB / 1.343 GB, free: 1.312 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/1.29, allocations: 3.141 kB / 1.343 GB, free: 1.312 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000326/1.29, allocations: 149.9 kB / 1.343 GB, free: 1.246 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.29, allocations: 5.156 kB / 1.343 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.29, allocations: 1.312 kB / 1.343 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/1.29, allocations: 5.844 kB / 1.343 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/1.29, allocations: 28.12 kB / 1.343 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.29, allocations: 6.391 kB / 1.343 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.29, allocations: 20.2 kB / 1.343 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/1.29, allocations: 5.5 kB / 1.343 GB, free: 1.223 MB / 1.014 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.000144/1.29, allocations: 184.4 kB / 1.344 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/1.29, allocations: 26.7 kB / 1.344 GB, free: 1.027 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/1.291, allocations: 166.8 kB / 1.344 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.291, allocations: 5.312 kB / 1.344 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.291, allocations: 1.625 kB / 1.344 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.291, allocations: 0.6562 kB / 1.344 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/1.292, allocations: 0.5963 MB / 1.344 GB, free: 492 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.292, allocations: 2.719 kB / 1.344 GB, free: 492 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.292, allocations: 24.75 kB / 1.344 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.292, allocations: 3.75 kB / 1.344 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/1.292, allocations: 2.531 kB / 1.344 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.292, allocations: 2.812 kB / 1.344 GB, free: 488 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.292, allocations: 5.312 kB / 1.344 GB, free: 484 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/1.293, allocations: 295 kB / 1.345 GB, free: 244 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/1.293, allocations: 114.5 kB / 1.345 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/1.293, allocations: 4.719 kB / 1.345 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.293, allocations: 12.19 kB / 1.345 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.293, allocations: 23.17 kB / 1.345 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.293, allocations: 4.906 kB / 1.345 GB, free: 112 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002219/1.293, allocations: 198.1 kB / 1.345 GB, free: 15.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.293, allocations: 0 / 1.345 GB, free: 15.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004913/1.294, allocations: 93.33 kB / 1.345 GB, free: 15.98 MB / 1.029 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.000441/1.294, allocations: 164.8 kB / 1.345 GB, free: 15.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004894/1.295, allocations: 173.1 kB / 1.345 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.295, allocations: 3.938 kB / 1.345 GB, free: 15.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/1.295, allocations: 59.61 kB / 1.345 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/1.296, allocations: 117.2 kB / 1.346 GB, free: 15.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007933/1.296, allocations: 469.2 kB / 1.346 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/1.297, allocations: 0.7622 MB / 1.347 GB, free: 14.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/1.297, allocations: 21.69 kB / 1.347 GB, free: 14.71 MB / 1.029 GB Notification: Performance of SimCode: time 2.2e-07/1.297, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Templates: time 0.006938/1.304, allocations: 3.725 MB / 1.35 GB, free: 14.35 MB / 1.029 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: 11.899725984083489]