Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001497/0.001497, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001644/0.001644, allocations: 216.9 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.338/1.338, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.897/2.897, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 69.14 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2915, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.18/0.4715, allocations: 171 MB / 1.493 GB, free: 6.262 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.4742, allocations: 1.565 MB / 1.494 GB, free: 4.695 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.4745, allocations: 19.81 kB / 1.494 GB, free: 4.676 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.475, allocations: 150.9 kB / 1.495 GB, free: 4.527 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.4767, allocations: 0.7351 MB / 1.495 GB, free: 3.789 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.4781, allocations: 0.6387 MB / 1.496 GB, free: 3.152 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.479, allocations: 0.7051 MB / 1.497 GB, free: 2.445 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.4794, allocations: 189 kB / 1.497 GB, free: 2.258 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009847/0.4804, allocations: 0.4982 MB / 1.497 GB, free: 1.758 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.4808, allocations: 235.1 kB / 1.498 GB, free: 1.527 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.4809, allocations: 20 kB / 1.498 GB, free: 1.508 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.4824, allocations: 0.9313 MB / 1.498 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.4825, allocations: 115.6 kB / 1.499 GB, free: 472 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.4827, allocations: 159.3 kB / 1.499 GB, free: 312 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.484, allocations: 0.7281 MB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.484, allocations: 0 / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.823e-06/0.484, allocations: 0 / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.484, allocations: 3.938 kB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001004/0.485, allocations: 0.5901 MB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.485, allocations: 8.031 kB / 1.5 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.4851, allocations: 54.55 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.4861, allocations: 155.6 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.4867, allocations: 260 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4867, allocations: 16.44 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.4867, allocations: 24 kB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.4872, allocations: 283.4 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4872, allocations: 3.938 kB / 1.501 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.4872, allocations: 4 kB / 1.501 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4873, allocations: 11.94 kB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.4877, allocations: 195.8 kB / 1.501 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4891, allocations: 1.175 MB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.4893, allocations: 136.4 kB / 1.502 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.4895, allocations: 88.8 kB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.4899, allocations: 72.14 kB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.49, allocations: 42.56 kB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.49, allocations: 0 / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007149/0.4907, allocations: 277.2 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4907, allocations: 55.41 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.491, allocations: 316.5 kB / 1.503 GB, free: 11.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4911, allocations: 33.7 kB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4912, allocations: 180.3 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.4912, allocations: 59.52 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.4913, allocations: 45.66 kB / 1.503 GB, free: 11.28 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4915, allocations: 338.8 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4916, allocations: 67.94 kB / 1.504 GB, free: 10.87 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4918, allocations: 129 kB / 1.504 GB, free: 10.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.4922, allocations: 189 kB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4922, allocations: 0 / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004395/0.4926, allocations: 238.7 kB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4926, allocations: 4 kB / 1.504 GB, free: 10.28 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4926, allocations: 11.92 kB / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4926, allocations: 0 / 1.504 GB, free: 10.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4928, allocations: 35.98 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4928, allocations: 4.094 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.493, allocations: 35.81 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.493, allocations: 4 kB / 1.504 GB, free: 10.19 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001467/0.4932, allocations: 161.7 kB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.4932, allocations: 27.81 kB / 1.505 GB, free: 9.996 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.4937, allocations: 230.1 kB / 1.505 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4937, allocations: 0 / 1.505 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4937, allocations: 4 kB / 1.505 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4937, allocations: 4.078 kB / 1.505 GB, free: 9.758 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000992/0.4947, allocations: 0.6514 MB / 1.505 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4947, allocations: 0 / 1.505 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.4948, allocations: 39.91 kB / 1.505 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4948, allocations: 7.938 kB / 1.505 GB, free: 8.988 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.4948, allocations: 8 kB / 1.505 GB, free: 8.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.4949, allocations: 4 kB / 1.505 GB, free: 8.977 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4949, allocations: 0 / 1.505 GB, free: 8.977 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.4955, allocations: 433.4 kB / 1.506 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.4956, allocations: 59.62 kB / 1.506 GB, free: 8.457 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.4956, allocations: 8 kB / 1.506 GB, free: 8.449 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.4958, allocations: 4 kB / 1.506 GB, free: 8.445 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.4958, allocations: 15.97 kB / 1.506 GB, free: 8.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4958, allocations: 8 kB / 1.506 GB, free: 8.422 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002269/0.496, allocations: 231.1 kB / 1.506 GB, free: 8.195 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.496, allocations: 0 / 1.506 GB, free: 8.195 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003533/0.4964, allocations: 79.83 kB / 1.506 GB, free: 8.117 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001019/0.4974, allocations: 1.01 MB / 1.507 GB, free: 7.059 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003862/0.4978, allocations: 171.8 kB / 1.507 GB, free: 6.891 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4978, allocations: 4 kB / 1.507 GB, free: 6.887 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.498, allocations: 79.83 kB / 1.508 GB, free: 6.809 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.4988, allocations: 167 kB / 1.508 GB, free: 6.652 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.5022, allocations: 2.91 MB / 1.511 GB, free: 3.598 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5026, allocations: 0.7833 MB / 1.511 GB, free: 2.785 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.5028, allocations: 58.92 kB / 1.511 GB, free: 2.73 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5029, allocations: 87.42 kB / 1.511 GB, free: 2.645 MB / 1.201 GB Notification: Performance of SimCode: time 3.61e-07/0.5029, allocations: 0 / 1.511 GB, free: 2.645 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.541, allocations: 9.053 MB / 1.52 GB, free: 9.824 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.87, allocations: 9.766 kB / 1.52 GB, free: 9.816 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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: 16.855328931938857]