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.002089/0.002089, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.002252/0.002252, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.525/2.525, allocations: 443.5 MB / 0.7287 GB, free: 13.38 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7976, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1979/0.9954, allocations: 162 MB / 1.371 GB, free: 5.59 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003561/0.999, allocations: 1.71 MB / 1.373 GB, free: 3.875 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.9995, allocations: 15.88 kB / 1.373 GB, free: 3.859 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007565/1, allocations: 162.9 kB / 1.373 GB, free: 3.699 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/1.002, allocations: 0.529 MB / 1.373 GB, free: 3.168 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.003, allocations: 421 kB / 1.374 GB, free: 2.762 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00108/1.004, allocations: 0.5732 MB / 1.374 GB, free: 2.188 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/1.005, allocations: 164.3 kB / 1.375 GB, free: 2.023 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/1.006, allocations: 326.8 kB / 1.375 GB, free: 1.703 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/1.006, allocations: 163.2 kB / 1.375 GB, free: 1.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/1.006, allocations: 16 kB / 1.375 GB, free: 1.527 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/1.007, allocations: 0.721 MB / 1.376 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/1.007, allocations: 75.73 kB / 1.376 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/1.007, allocations: 119.4 kB / 1.376 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008879/1.008, allocations: 0.4943 MB / 1.376 GB, free: 120 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.008, allocations: 4 kB / 1.376 GB, free: 116 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/1.008, allocations: 0 / 1.376 GB, free: 116 kB / 1.076 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.008, allocations: 0 / 1.376 GB, free: 116 kB / 1.076 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.0009656/1.009, allocations: 0.5872 MB / 1.377 GB, free: 15.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.009, allocations: 12.62 kB / 1.377 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/1.009, allocations: 46.55 kB / 1.377 GB, free: 15.41 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000349/1.01, allocations: 59.77 kB / 1.377 GB, free: 15.35 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/1.01, allocations: 305.5 kB / 1.377 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/1.01, allocations: 12 kB / 1.377 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/1.01, allocations: 15.98 kB / 1.377 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/1.011, allocations: 196.1 kB / 1.378 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.011, allocations: 0 / 1.378 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.011, allocations: 8 kB / 1.378 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.011, allocations: 7.938 kB / 1.378 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/1.011, allocations: 123.8 kB / 1.378 GB, free: 14.64 MB / 1.092 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.001163/1.012, allocations: 0.781 MB / 1.379 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/1.013, allocations: 74.53 kB / 1.379 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/1.013, allocations: 80.86 kB / 1.379 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/1.013, allocations: 182.2 kB / 1.379 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/1.013, allocations: 38.55 kB / 1.379 GB, free: 13.37 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/1.013, allocations: 0 / 1.379 GB, free: 13.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0006824/1.014, allocations: 221.3 kB / 1.379 GB, free: 13.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.014, allocations: 55.34 kB / 1.379 GB, free: 13.08 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/1.014, allocations: 267.4 kB / 1.379 GB, free: 12.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.014, allocations: 33.7 kB / 1.379 GB, free: 12.78 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.014, allocations: 148 kB / 1.38 GB, free: 12.63 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/1.014, allocations: 35.69 kB / 1.38 GB, free: 12.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/1.014, allocations: 29.66 kB / 1.38 GB, free: 12.56 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.014, allocations: 338.8 kB / 1.38 GB, free: 12.22 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/1.015, allocations: 40.83 kB / 1.38 GB, free: 12.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/1.015, allocations: 97.09 kB / 1.38 GB, free: 12.06 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/1.015, allocations: 119.3 kB / 1.38 GB, free: 11.93 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.015, allocations: 0 / 1.38 GB, free: 11.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003589/1.015, allocations: 165.3 kB / 1.38 GB, free: 11.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.015, allocations: 4 kB / 1.38 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.015, allocations: 7.938 kB / 1.38 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.015, allocations: 4.031 kB / 1.38 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/1.016, allocations: 19.98 kB / 1.38 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.016, allocations: 4 kB / 1.38 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/1.016, allocations: 27.86 kB / 1.38 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.016, allocations: 4 kB / 1.38 GB, free: 11.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002053/1.016, allocations: 144.1 kB / 1.381 GB, free: 11.55 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001604/1.016, allocations: 97.05 kB / 1.381 GB, free: 11.44 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00024/1.016, allocations: 111.4 kB / 1.381 GB, free: 11.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/1.016, allocations: 0 / 1.381 GB, free: 11.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003318/1.017, allocations: 165.3 kB / 1.381 GB, free: 11.15 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.017, allocations: 8 kB / 1.381 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-06/1.017, allocations: 0 / 1.381 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/1.017, allocations: 3.938 kB / 1.381 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.017, allocations: 23.92 kB / 1.381 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.017, allocations: 4.125 kB / 1.381 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.017, allocations: 19.98 kB / 1.381 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.017, allocations: 4 kB / 1.381 GB, free: 11.09 MB / 1.092 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.0001323/1.017, allocations: 197 kB / 1.381 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/1.017, allocations: 24.14 kB / 1.381 GB, free: 10.86 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/1.018, allocations: 167.5 kB / 1.381 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.018, allocations: 3.984 kB / 1.381 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.018, allocations: 3.984 kB / 1.381 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.018, allocations: 4 kB / 1.381 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/1.019, allocations: 0.5821 MB / 1.382 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.019, allocations: 4.219 kB / 1.382 GB, free: 10.01 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.019, allocations: 27.92 kB / 1.382 GB, free: 9.984 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.019, allocations: 4 kB / 1.382 GB, free: 9.98 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.019, allocations: 8 kB / 1.382 GB, free: 9.973 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.019, allocations: 3.984 kB / 1.382 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.019, allocations: 7.984 kB / 1.382 GB, free: 9.961 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/1.019, allocations: 289.2 kB / 1.382 GB, free: 9.641 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.019, allocations: 113 kB / 1.382 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/1.019, allocations: 7.984 kB / 1.382 GB, free: 9.504 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/1.019, allocations: 15.98 kB / 1.382 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/1.02, allocations: 15.88 kB / 1.382 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/1.02, allocations: 11.98 kB / 1.382 GB, free: 9.461 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002143/1.02, allocations: 194 kB / 1.383 GB, free: 9.27 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.02, allocations: 0 / 1.383 GB, free: 9.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004688/1.02, allocations: 91.83 kB / 1.383 GB, free: 9.18 MB / 1.092 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.001098/1.021, allocations: 0.8992 MB / 1.384 GB, free: 8.242 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.022, allocations: 164.2 kB / 1.384 GB, free: 8.082 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.022, allocations: 0 / 1.384 GB, free: 8.082 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/1.022, allocations: 63.97 kB / 1.384 GB, free: 8.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007052/1.023, allocations: 121 kB / 1.384 GB, free: 7.902 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/1.026, allocations: 2.359 MB / 1.386 GB, free: 5.41 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/1.026, allocations: 0.7518 MB / 1.387 GB, free: 4.633 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002339/1.027, allocations: 69.88 kB / 1.387 GB, free: 4.562 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.027, allocations: 71.42 kB / 1.387 GB, free: 4.492 MB / 1.092 GB Notification: Performance of SimCode: time 6.82e-07/1.027, allocations: 0 / 1.387 GB, free: 4.492 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/1.061, allocations: 6.961 MB / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/9.351, allocations: 4.875 kB / 1.394 GB, free: 13.7 MB / 1.107 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 420.0] 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: 15.10345206502825]