Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001328/0.001328, allocations: 107.5 kB / 16.4 MB, free: 6.5 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.001342/0.001342, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.504/1.504, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 489 MB / 0.7678 GB, free: 160 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.0021, allocations: 67.88 kB / 1.101 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8792/0.8814, allocations: 163.8 MB / 1.261 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.202/1.083, allocations: 161.5 MB / 1.419 GB, free: 5.047 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003328/1.087, allocations: 1.704 MB / 1.42 GB, free: 3.34 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/1.087, allocations: 7.938 kB / 1.42 GB, free: 3.332 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/1.088, allocations: 170.9 kB / 1.421 GB, free: 3.164 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/1.089, allocations: 0.5017 MB / 1.421 GB, free: 2.66 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/1.091, allocations: 429.1 kB / 1.422 GB, free: 2.246 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0009619/1.092, allocations: 0.5615 MB / 1.422 GB, free: 1.684 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/1.092, allocations: 188.4 kB / 1.422 GB, free: 1.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/1.093, allocations: 470.2 kB / 1.423 GB, free: 1.039 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/1.094, allocations: 147.3 kB / 1.423 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/1.094, allocations: 12 kB / 1.423 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/1.095, allocations: 0.6899 MB / 1.424 GB, free: 196 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/1.095, allocations: 75.72 kB / 1.424 GB, free: 120 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/1.095, allocations: 111.4 kB / 1.424 GB, free: 8 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009066/1.096, allocations: 0.4983 MB / 1.424 GB, free: 15.51 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.096, allocations: 0 / 1.424 GB, free: 15.51 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.444e-06/1.096, allocations: 0 / 1.424 GB, free: 15.51 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.096, allocations: 0 / 1.424 GB, free: 15.51 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.0009992/1.097, allocations: 0.5948 MB / 1.425 GB, free: 14.86 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.097, allocations: 12.03 kB / 1.425 GB, free: 14.85 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/1.097, allocations: 46.55 kB / 1.425 GB, free: 14.8 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/1.098, allocations: 55.78 kB / 1.425 GB, free: 14.74 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/1.098, allocations: 305.5 kB / 1.425 GB, free: 14.4 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.098, allocations: 12 kB / 1.425 GB, free: 14.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/1.098, allocations: 12 kB / 1.425 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/1.099, allocations: 192.2 kB / 1.425 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.099, allocations: 0 / 1.425 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/1.099, allocations: 8 kB / 1.425 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.099, allocations: 4 kB / 1.425 GB, free: 14.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/1.099, allocations: 128.4 kB / 1.425 GB, free: 14.04 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/1.1, allocations: 0.7849 MB / 1.426 GB, free: 13.18 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/1.1, allocations: 86.47 kB / 1.426 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.101, allocations: 80.86 kB / 1.426 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/1.101, allocations: 190.2 kB / 1.427 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.101, allocations: 34.56 kB / 1.427 GB, free: 12.74 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/1.101, allocations: 0 / 1.427 GB, free: 12.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0007109/1.102, allocations: 221.3 kB / 1.427 GB, free: 12.52 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/1.102, allocations: 63.34 kB / 1.427 GB, free: 12.45 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/1.102, allocations: 267 kB / 1.427 GB, free: 12.18 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.102, allocations: 25.7 kB / 1.427 GB, free: 12.15 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.102, allocations: 148 kB / 1.427 GB, free: 12 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/1.102, allocations: 31.7 kB / 1.427 GB, free: 11.97 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/1.102, allocations: 41.64 kB / 1.427 GB, free: 11.92 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.103, allocations: 330.8 kB / 1.428 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.103, allocations: 48.83 kB / 1.428 GB, free: 11.54 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/1.103, allocations: 89.11 kB / 1.428 GB, free: 11.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/1.103, allocations: 127.3 kB / 1.428 GB, free: 11.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.103, allocations: 0 / 1.428 GB, free: 11.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003542/1.104, allocations: 161.3 kB / 1.428 GB, free: 11.13 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.104, allocations: 8.031 kB / 1.428 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.104, allocations: 7.938 kB / 1.428 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.104, allocations: 0 / 1.428 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/1.104, allocations: 19.98 kB / 1.428 GB, free: 11.1 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.104, allocations: 4 kB / 1.428 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/1.104, allocations: 19.88 kB / 1.428 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/1.104, allocations: 8.062 kB / 1.428 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002189/1.104, allocations: 152.6 kB / 1.428 GB, free: 10.91 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001797/1.104, allocations: 101 kB / 1.428 GB, free: 10.8 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002575/1.105, allocations: 115.4 kB / 1.429 GB, free: 10.67 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/1.105, allocations: 0 / 1.429 GB, free: 10.67 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000333/1.105, allocations: 157.5 kB / 1.429 GB, free: 10.51 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.105, allocations: 8 kB / 1.429 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/1.105, allocations: 0 / 1.429 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/1.105, allocations: 3.938 kB / 1.429 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.105, allocations: 27.98 kB / 1.429 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/1.105, allocations: 3.984 kB / 1.429 GB, free: 10.47 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/1.105, allocations: 11.98 kB / 1.429 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/1.105, allocations: 8.031 kB / 1.429 GB, free: 10.45 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.000142/1.106, allocations: 189.3 kB / 1.429 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/1.106, allocations: 23.86 kB / 1.429 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/1.106, allocations: 163.2 kB / 1.429 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.106, allocations: 4 kB / 1.429 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.106, allocations: 0 / 1.429 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.106, allocations: 0 / 1.429 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009512/1.107, allocations: 0.5978 MB / 1.43 GB, free: 9.387 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.107, allocations: 0 / 1.43 GB, free: 9.387 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.107, allocations: 27.92 kB / 1.43 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.107, allocations: 3.938 kB / 1.43 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.107, allocations: 4 kB / 1.43 GB, free: 9.352 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.107, allocations: 4 kB / 1.43 GB, free: 9.348 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.107, allocations: 0 / 1.43 GB, free: 9.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.108, allocations: 301.2 kB / 1.43 GB, free: 9.016 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/1.108, allocations: 109 kB / 1.43 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/1.108, allocations: 8 kB / 1.43 GB, free: 8.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.108, allocations: 11.98 kB / 1.43 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/1.108, allocations: 19.86 kB / 1.43 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.108, allocations: 4.375 kB / 1.43 GB, free: 8.848 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002117/1.108, allocations: 197.9 kB / 1.43 GB, free: 8.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.108, allocations: 0 / 1.43 GB, free: 8.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.000456/1.109, allocations: 91.83 kB / 1.43 GB, free: 8.566 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.00107/1.11, allocations: 0.9013 MB / 1.431 GB, free: 7.629 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004782/1.11, allocations: 163.8 kB / 1.431 GB, free: 7.469 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.11, allocations: 4.125 kB / 1.431 GB, free: 7.465 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.11, allocations: 63.89 kB / 1.432 GB, free: 7.402 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/1.111, allocations: 117.2 kB / 1.432 GB, free: 7.289 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/1.114, allocations: 2.362 MB / 1.434 GB, free: 4.785 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/1.115, allocations: 0.7556 MB / 1.435 GB, free: 4.004 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002062/1.115, allocations: 70.53 kB / 1.435 GB, free: 3.934 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.115, allocations: 71.41 kB / 1.435 GB, free: 3.863 MB / 1.139 GB Notification: Performance of SimCode: time 2.4e-07/1.115, allocations: 0 / 1.435 GB, free: 3.863 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/1.145, allocations: 6.917 MB / 1.442 GB, free: 13.11 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/9.212, allocations: 9.484 kB / 1.442 GB, free: 13.11 MB / 1.154 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.370827122125775]