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.00188/0.00188, allocations: 108.2 kB / 16.46 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.001901/0.001901, 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.443/1.443, 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 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 3.121/3.121, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 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.001942/0.001942, allocations: 70.5 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3646, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1914/0.5559, allocations: 162 MB / 1.462 GB, free: 14.84 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.5593, allocations: 1.714 MB / 1.464 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.5596, allocations: 7.938 kB / 1.464 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.5603, allocations: 170.9 kB / 1.464 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.5618, allocations: 0.5442 MB / 1.465 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.563, allocations: 410.5 kB / 1.465 GB, free: 12.01 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008717/0.5638, allocations: 0.5693 MB / 1.466 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.5642, allocations: 152.5 kB / 1.466 GB, free: 11.29 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5652, allocations: 482.2 kB / 1.466 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.5654, allocations: 159.2 kB / 1.466 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.5654, allocations: 12 kB / 1.466 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5665, allocations: 0.7093 MB / 1.467 GB, free: 9.938 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.5666, allocations: 79.73 kB / 1.467 GB, free: 9.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.5667, allocations: 115.4 kB / 1.467 GB, free: 9.746 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.5675, allocations: 0.4943 MB / 1.468 GB, free: 9.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5675, allocations: 4 kB / 1.468 GB, free: 9.246 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5675, allocations: 4 kB / 1.468 GB, free: 9.242 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5675, allocations: 0 / 1.468 GB, free: 9.242 MB / 1.17 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.0008241/0.5683, allocations: 0.5872 MB / 1.468 GB, free: 8.605 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5684, allocations: 8.922 kB / 1.468 GB, free: 8.598 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.683e-05/0.5684, allocations: 50.55 kB / 1.468 GB, free: 8.539 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.5687, allocations: 51.83 kB / 1.468 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.5692, allocations: 309.4 kB / 1.469 GB, free: 8.148 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5693, allocations: 12 kB / 1.469 GB, free: 8.137 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.5693, allocations: 12 kB / 1.469 GB, free: 8.125 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.5697, allocations: 204.1 kB / 1.469 GB, free: 7.91 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5697, allocations: 0 / 1.469 GB, free: 7.91 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.5697, allocations: 8 kB / 1.469 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5697, allocations: 0 / 1.469 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.57, allocations: 131.8 kB / 1.469 GB, free: 7.773 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.5711, allocations: 0.7733 MB / 1.47 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.5713, allocations: 82.47 kB / 1.47 GB, free: 6.84 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5715, allocations: 68.88 kB / 1.47 GB, free: 6.77 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.5718, allocations: 190.2 kB / 1.47 GB, free: 6.547 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.5718, allocations: 34.56 kB / 1.47 GB, free: 6.504 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.5718, allocations: 3.938 kB / 1.47 GB, free: 6.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006718/0.5725, allocations: 229.2 kB / 1.47 GB, free: 6.27 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.5725, allocations: 55.39 kB / 1.47 GB, free: 6.203 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.5728, allocations: 267 kB / 1.471 GB, free: 5.934 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5728, allocations: 29.7 kB / 1.471 GB, free: 5.898 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.573, allocations: 144 kB / 1.471 GB, free: 5.754 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.573, allocations: 39.64 kB / 1.471 GB, free: 5.715 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.5731, allocations: 29.7 kB / 1.471 GB, free: 5.68 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5732, allocations: 338.8 kB / 1.471 GB, free: 5.34 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.5734, allocations: 44.77 kB / 1.471 GB, free: 5.293 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5735, allocations: 93.11 kB / 1.471 GB, free: 5.184 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.5738, allocations: 123.4 kB / 1.471 GB, free: 5.051 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5738, allocations: 4 kB / 1.471 GB, free: 5.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000333/0.5741, allocations: 161.4 kB / 1.472 GB, free: 4.883 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5741, allocations: 4 kB / 1.472 GB, free: 4.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5741, allocations: 3.938 kB / 1.472 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.5742, allocations: 4 kB / 1.472 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.5743, allocations: 27.95 kB / 1.472 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5743, allocations: 0 / 1.472 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.5745, allocations: 23.94 kB / 1.472 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5745, allocations: 4 kB / 1.472 GB, free: 4.816 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000213/0.5747, allocations: 152.1 kB / 1.472 GB, free: 4.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001589/0.5749, allocations: 93.11 kB / 1.472 GB, free: 4.555 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000234/0.5751, allocations: 116 kB / 1.472 GB, free: 4.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.5751, allocations: 0 / 1.472 GB, free: 4.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000318/0.5754, allocations: 161.4 kB / 1.472 GB, free: 4.266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/0.5754, allocations: 4 kB / 1.472 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.5754, allocations: 4 kB / 1.472 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.5755, allocations: 3.938 kB / 1.472 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5756, allocations: 19.98 kB / 1.472 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.5756, allocations: 0 / 1.472 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.5757, allocations: 31.84 kB / 1.472 GB, free: 4.203 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.5757, allocations: 4 kB / 1.472 GB, free: 4.199 MB / 1.17 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.0001183/0.5758, allocations: 188.3 kB / 1.472 GB, free: 4.008 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.5759, allocations: 23.81 kB / 1.472 GB, free: 3.984 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.5763, allocations: 171.4 kB / 1.473 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5763, allocations: 0 / 1.473 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5763, allocations: 0 / 1.473 GB, free: 3.809 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5763, allocations: 3.984 kB / 1.473 GB, free: 3.805 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/0.5772, allocations: 0.5938 MB / 1.473 GB, free: 3.133 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.5772, allocations: 4 kB / 1.473 GB, free: 3.129 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5773, allocations: 24.2 kB / 1.473 GB, free: 3.105 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.5773, allocations: 4 kB / 1.473 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5773, allocations: 0 / 1.473 GB, free: 3.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.5773, allocations: 7.938 kB / 1.473 GB, free: 3.094 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5773, allocations: 4 kB / 1.473 GB, free: 3.09 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.5777, allocations: 297.2 kB / 1.473 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.5778, allocations: 116.9 kB / 1.474 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.5779, allocations: 4.062 kB / 1.474 GB, free: 2.625 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.5781, allocations: 19.98 kB / 1.474 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.5781, allocations: 15.92 kB / 1.474 GB, free: 2.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.5781, allocations: 4 kB / 1.474 GB, free: 2.586 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000198/0.5783, allocations: 201.9 kB / 1.474 GB, free: 2.391 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5783, allocations: 4 kB / 1.474 GB, free: 2.387 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004442/0.5788, allocations: 91.83 kB / 1.474 GB, free: 2.297 MB / 1.17 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.0009826/0.5798, allocations: 0.8898 MB / 1.475 GB, free: 1.367 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.5802, allocations: 164.2 kB / 1.475 GB, free: 1.207 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5802, allocations: 0 / 1.475 GB, free: 1.207 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.5804, allocations: 64.3 kB / 1.475 GB, free: 1.145 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.5811, allocations: 117 kB / 1.475 GB, free: 1.027 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.584, allocations: 2.358 MB / 1.477 GB, free: 14.53 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.5844, allocations: 0.7597 MB / 1.478 GB, free: 13.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.5846, allocations: 65.89 kB / 1.478 GB, free: 13.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.5847, allocations: 71.41 kB / 1.478 GB, free: 13.61 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.5847, allocations: 0 / 1.478 GB, free: 13.61 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.6161, allocations: 6.958 MB / 1.485 GB, free: 6.828 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.685, allocations: 12.62 kB / 1.485 GB, free: 6.816 MB / 1.186 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.352626834996045]