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.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.001667/0.001667, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001865/0.001865, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.78/2.78, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.807, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2014/1.008, allocations: 162 MB / 1.427 GB, free: 2.539 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003438/1.012, allocations: 1.711 MB / 1.429 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/1.012, allocations: 15.88 kB / 1.429 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/1.013, allocations: 162.9 kB / 1.429 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/1.015, allocations: 0.5366 MB / 1.429 GB, free: 116 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/1.016, allocations: 421.8 kB / 1.43 GB, free: 15.7 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009783/1.017, allocations: 0.5693 MB / 1.43 GB, free: 15.13 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/1.017, allocations: 164.4 kB / 1.43 GB, free: 14.96 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/1.018, allocations: 322.8 kB / 1.431 GB, free: 14.65 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/1.018, allocations: 167.2 kB / 1.431 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.453e-05/1.018, allocations: 12 kB / 1.431 GB, free: 14.47 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/1.02, allocations: 0.721 MB / 1.432 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/1.02, allocations: 75.73 kB / 1.432 GB, free: 13.68 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/1.02, allocations: 127.3 kB / 1.432 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/1.021, allocations: 0.4905 MB / 1.432 GB, free: 13.06 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.021, allocations: 0 / 1.432 GB, free: 13.06 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.123e-06/1.021, allocations: 0 / 1.432 GB, free: 13.06 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.021, allocations: 4 kB / 1.432 GB, free: 13.05 MB / 1.139 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.0009768/1.022, allocations: 0.5872 MB / 1.433 GB, free: 12.42 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.022, allocations: 8.031 kB / 1.433 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/1.022, allocations: 50.55 kB / 1.433 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/1.023, allocations: 55.78 kB / 1.433 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/1.023, allocations: 309.4 kB / 1.433 GB, free: 11.95 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/1.023, allocations: 12 kB / 1.433 GB, free: 11.94 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/1.023, allocations: 12 kB / 1.433 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/1.024, allocations: 204.1 kB / 1.433 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.024, allocations: 0 / 1.433 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/1.024, allocations: 7.938 kB / 1.434 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.024, allocations: 4 kB / 1.434 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/1.024, allocations: 127.8 kB / 1.434 GB, free: 11.58 MB / 1.139 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.00126/1.026, allocations: 0.781 MB / 1.434 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.026, allocations: 78.53 kB / 1.434 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/1.026, allocations: 76.86 kB / 1.435 GB, free: 10.56 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/1.026, allocations: 182.2 kB / 1.435 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.026, allocations: 38.55 kB / 1.435 GB, free: 10.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/1.026, allocations: 3.938 kB / 1.435 GB, free: 10.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007237/1.027, allocations: 217.7 kB / 1.435 GB, free: 10.08 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.027, allocations: 55.34 kB / 1.435 GB, free: 10.01 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/1.028, allocations: 267.1 kB / 1.435 GB, free: 9.75 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.028, allocations: 33.64 kB / 1.435 GB, free: 9.711 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.028, allocations: 148 kB / 1.435 GB, free: 9.562 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/1.028, allocations: 39.69 kB / 1.435 GB, free: 9.523 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/1.028, allocations: 29.72 kB / 1.436 GB, free: 9.488 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.028, allocations: 334.8 kB / 1.436 GB, free: 9.152 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/1.028, allocations: 44.81 kB / 1.436 GB, free: 9.105 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/1.028, allocations: 93.11 kB / 1.436 GB, free: 8.996 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/1.029, allocations: 123.3 kB / 1.436 GB, free: 8.863 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.029, allocations: 0 / 1.436 GB, free: 8.863 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003758/1.029, allocations: 157.4 kB / 1.436 GB, free: 8.703 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.029, allocations: 4 kB / 1.436 GB, free: 8.699 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.029, allocations: 7.969 kB / 1.436 GB, free: 8.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.029, allocations: 4 kB / 1.436 GB, free: 8.688 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/1.029, allocations: 20.12 kB / 1.436 GB, free: 8.668 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.029, allocations: 3.984 kB / 1.436 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/1.029, allocations: 27.94 kB / 1.436 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/1.029, allocations: 11.98 kB / 1.436 GB, free: 8.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002191/1.03, allocations: 144.1 kB / 1.436 GB, free: 8.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001664/1.03, allocations: 97.05 kB / 1.437 GB, free: 8.367 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002368/1.03, allocations: 111.4 kB / 1.437 GB, free: 8.246 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/1.03, allocations: 3.938 kB / 1.437 GB, free: 8.242 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003306/1.03, allocations: 161.4 kB / 1.437 GB, free: 8.078 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.03, allocations: 5.875 kB / 1.437 GB, free: 8.074 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/1.03, allocations: 4 kB / 1.437 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/1.03, allocations: 7.875 kB / 1.437 GB, free: 8.062 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.03, allocations: 19.98 kB / 1.437 GB, free: 8.043 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/1.03, allocations: 4 kB / 1.437 GB, free: 8.039 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/1.031, allocations: 15.98 kB / 1.437 GB, free: 8.023 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/1.031, allocations: 8.031 kB / 1.437 GB, free: 8.016 MB / 1.139 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.0001389/1.031, allocations: 192.1 kB / 1.437 GB, free: 7.82 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/1.031, allocations: 24.22 kB / 1.437 GB, free: 7.797 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/1.031, allocations: 175.1 kB / 1.437 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.031, allocations: 0 / 1.437 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.031, allocations: 0 / 1.437 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.031, allocations: 0 / 1.437 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.032, allocations: 0.5901 MB / 1.438 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.032, allocations: 4 kB / 1.438 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.032, allocations: 27.92 kB / 1.438 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/1.032, allocations: 4 kB / 1.438 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/1.032, allocations: 0 / 1.438 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.032, allocations: 7.984 kB / 1.438 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.032, allocations: 4 kB / 1.438 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/1.033, allocations: 289.5 kB / 1.438 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/1.033, allocations: 112.9 kB / 1.438 GB, free: 6.453 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/1.033, allocations: 15.98 kB / 1.438 GB, free: 6.438 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/1.033, allocations: 11.98 kB / 1.438 GB, free: 6.426 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/1.033, allocations: 19.86 kB / 1.438 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/1.033, allocations: 4 kB / 1.438 GB, free: 6.402 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002131/1.033, allocations: 194 kB / 1.438 GB, free: 6.211 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/1.033, allocations: 4 kB / 1.438 GB, free: 6.207 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004778/1.034, allocations: 91.83 kB / 1.439 GB, free: 6.117 MB / 1.139 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.0011/1.035, allocations: 0.9007 MB / 1.439 GB, free: 5.176 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004951/1.035, allocations: 163.8 kB / 1.44 GB, free: 5.016 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.035, allocations: 4.125 kB / 1.44 GB, free: 5.012 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/1.036, allocations: 63.83 kB / 1.44 GB, free: 4.949 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/1.036, allocations: 120.4 kB / 1.44 GB, free: 4.836 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/1.039, allocations: 2.355 MB / 1.442 GB, free: 2.344 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/1.04, allocations: 0.7558 MB / 1.443 GB, free: 1.562 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002274/1.04, allocations: 65.89 kB / 1.443 GB, free: 1.496 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.04, allocations: 67.42 kB / 1.443 GB, free: 1.43 MB / 1.139 GB Notification: Performance of SimCode: time 9.51e-07/1.04, allocations: 0 / 1.443 GB, free: 1.43 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/1.073, allocations: 6.967 MB / 1.45 GB, free: 10.64 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/9.265, allocations: 5.312 kB / 1.45 GB, free: 10.64 MB / 1.154 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.282034189905971]