Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 210.6 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9987/0.9987, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.382/2.382, allocations: 0.5556 GB / 0.8607 GB, free: 30.8 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009791/0.0009791, allocations: 71.77 kB / 1.253 GB, free: 22.6 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3277, allocations: 193.3 MB / 1.442 GB, free: 10.91 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001797/0.3295, allocations: 1.251 MB / 1.443 GB, free: 9.652 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3469, allocations: 20.6 MB / 1.463 GB, free: 4.973 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.3469, allocations: 0 / 1.463 GB, free: 4.973 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.347, allocations: 3.938 kB / 1.463 GB, free: 4.969 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.3472, allocations: 47.75 kB / 1.463 GB, free: 4.922 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.3472, allocations: 0 / 1.463 GB, free: 4.922 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.3473, allocations: 19.88 kB / 1.463 GB, free: 4.902 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3473, allocations: 7.984 kB / 1.463 GB, free: 4.895 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.3473, allocations: 7.938 kB / 1.463 GB, free: 4.887 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 3.572e-05/0.3474, allocations: 11.94 kB / 1.463 GB, free: 4.875 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3474, allocations: 0 / 1.463 GB, free: 4.875 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01594/0.3633, allocations: 10.05 MB / 1.473 GB, free: 10.78 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3633, allocations: 0 / 1.473 GB, free: 10.78 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.3634, allocations: 7.938 kB / 1.473 GB, free: 10.77 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3635, allocations: 35.89 kB / 1.473 GB, free: 10.74 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3635, allocations: 4 kB / 1.473 GB, free: 10.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3635, allocations: 3.938 kB / 1.473 GB, free: 10.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3635, allocations: 0 / 1.473 GB, free: 10.73 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002776/0.3638, allocations: 262.2 kB / 1.473 GB, free: 10.45 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3638, allocations: 12.03 kB / 1.473 GB, free: 10.43 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.3639, allocations: 30.75 kB / 1.473 GB, free: 10.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.3639, allocations: 4.891 kB / 1.473 GB, free: 10.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.364, allocations: 118.5 kB / 1.473 GB, free: 10.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.364, allocations: 384 / 1.473 GB, free: 10.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.364, allocations: 8.125 kB / 1.473 GB, free: 10.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.16e-05/0.3641, allocations: 51.34 kB / 1.473 GB, free: 10.18 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.3641, allocations: 8 kB / 1.473 GB, free: 10.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.3641, allocations: 0 / 1.473 GB, free: 10.17 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3641, allocations: 0 / 1.473 GB, free: 10.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.3642, allocations: 11.94 kB / 1.473 GB, free: 10.16 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.3643, allocations: 137.6 kB / 1.474 GB, free: 9.98 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.3644, allocations: 41.22 kB / 1.474 GB, free: 9.922 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.3644, allocations: 25.7 kB / 1.474 GB, free: 9.891 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.3646, allocations: 31.91 kB / 1.474 GB, free: 9.859 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.3646, allocations: 34.56 kB / 1.474 GB, free: 9.816 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3646, allocations: 0 / 1.474 GB, free: 9.816 MB / 1.151 GB Notification: Performance of matching and sorting (n=4): time 0.0001557/0.3648, allocations: 53.62 kB / 1.474 GB, free: 9.758 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3648, allocations: 81.11 kB / 1.474 GB, free: 9.66 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.3649, allocations: 97.86 kB / 1.474 GB, free: 9.555 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-06/0.3649, allocations: 25.7 kB / 1.474 GB, free: 9.523 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3649, allocations: 88.12 kB / 1.474 GB, free: 9.434 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.3649, allocations: 11.91 kB / 1.474 GB, free: 9.422 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.365, allocations: 17.97 kB / 1.474 GB, free: 9.398 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.365, allocations: 314.8 kB / 1.474 GB, free: 9.082 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.3651, allocations: 7.984 kB / 1.474 GB, free: 9.074 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.3651, allocations: 17.72 kB / 1.474 GB, free: 9.051 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.49e-05/0.3651, allocations: 25.66 kB / 1.474 GB, free: 9.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3651, allocations: 4 kB / 1.474 GB, free: 9.016 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.878e-05/0.3652, allocations: 57.52 kB / 1.475 GB, free: 8.953 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3652, allocations: 8 kB / 1.475 GB, free: 8.945 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3652, allocations: 4 kB / 1.475 GB, free: 8.941 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3652, allocations: 4 kB / 1.475 GB, free: 8.938 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.3653, allocations: 4 kB / 1.475 GB, free: 8.934 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3653, allocations: 4 kB / 1.475 GB, free: 8.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.3653, allocations: 4 kB / 1.475 GB, free: 8.926 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3653, allocations: 3.984 kB / 1.475 GB, free: 8.922 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.771e-05/0.3654, allocations: 113.8 kB / 1.475 GB, free: 8.801 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.3654, allocations: 3.938 kB / 1.475 GB, free: 8.797 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.3657, allocations: 62.69 kB / 1.475 GB, free: 8.734 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3657, allocations: 0 / 1.475 GB, free: 8.734 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3657, allocations: 8.062 kB / 1.475 GB, free: 8.727 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3658, allocations: 0 / 1.475 GB, free: 8.727 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.177e-05/0.3658, allocations: 132.6 kB / 1.475 GB, free: 8.555 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3658, allocations: 0 / 1.475 GB, free: 8.555 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.3658, allocations: 8 kB / 1.475 GB, free: 8.547 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3658, allocations: 0 / 1.475 GB, free: 8.547 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3659, allocations: 0 / 1.475 GB, free: 8.547 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3659, allocations: 3.938 kB / 1.475 GB, free: 8.543 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3659, allocations: 4 kB / 1.475 GB, free: 8.539 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.869e-05/0.3659, allocations: 89.84 kB / 1.475 GB, free: 8.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.3659, allocations: 7.938 kB / 1.475 GB, free: 8.422 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.366, allocations: 4 kB / 1.475 GB, free: 8.418 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.366, allocations: 0 / 1.475 GB, free: 8.418 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.366, allocations: 3.984 kB / 1.475 GB, free: 8.414 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.366, allocations: 4 kB / 1.475 GB, free: 8.41 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.366, allocations: 83.28 kB / 1.475 GB, free: 8.328 MB / 1.151 GB Notification: Performance of sort global known variables: time 6e-08/0.366, allocations: 0 / 1.475 GB, free: 8.328 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001454/0.3662, allocations: 15.94 kB / 1.475 GB, free: 8.312 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0002721/0.3664, allocations: 0.6327 MB / 1.476 GB, free: 7.645 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.647e-05/0.3665, allocations: 24.5 kB / 1.476 GB, free: 7.621 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3665, allocations: 3.938 kB / 1.476 GB, free: 7.617 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.3665, allocations: 11.94 kB / 1.476 GB, free: 7.605 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3667, allocations: 13.55 kB / 1.476 GB, free: 7.594 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.3675, allocations: 1.157 MB / 1.477 GB, free: 6.34 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.3675, allocations: 63.34 kB / 1.477 GB, free: 6.258 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.3675, allocations: 10.42 kB / 1.477 GB, free: 6.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.3676, allocations: 11.44 kB / 1.477 GB, free: 6.238 MB / 1.151 GB Notification: Performance of SimCode: time 6.91e-07/0.3676, allocations: 0 / 1.477 GB, free: 6.238 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.3838, allocations: 2.388 MB / 1.479 GB, free: 4.004 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/7.295, allocations: 3.25 kB / 1.479 GB, free: 4.004 MB / 1.151 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.fmu > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.473478248342872]