Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008524/0.0008524, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009381/0.0009381, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8697/0.8697, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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 1.69/1.69, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.298e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5234/0.5234, allocations: 147.5 MB / 1.144 GB, free: 7.801 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.5255, allocations: 1.466 MB / 1.145 GB, free: 6.801 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.5258, allocations: 20.5 kB / 1.145 GB, free: 6.789 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.5262, allocations: 151.7 kB / 1.145 GB, free: 6.691 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.5277, allocations: 0.7123 MB / 1.146 GB, free: 6.316 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.529, allocations: 0.6497 MB / 1.147 GB, free: 6 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006573/0.5297, allocations: 0.6777 MB / 1.147 GB, free: 5.684 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.5299, allocations: 178.4 kB / 1.148 GB, free: 5.605 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008415/0.5308, allocations: 0.5777 MB / 1.148 GB, free: 5.355 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.531, allocations: 190.9 kB / 1.148 GB, free: 5.297 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.531, allocations: 22.34 kB / 1.148 GB, free: 5.297 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.5321, allocations: 0.7215 MB / 1.149 GB, free: 5.023 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.5322, allocations: 115 kB / 1.149 GB, free: 4.969 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.5323, allocations: 112.4 kB / 1.149 GB, free: 4.93 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008501/0.5332, allocations: 0.7318 MB / 1.15 GB, free: 4.688 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.5332, allocations: 0 / 1.15 GB, free: 4.688 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5332, allocations: 0.6562 kB / 1.15 GB, free: 4.688 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5332, allocations: 0 / 1.15 GB, free: 4.688 MB / 1.01 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.0007302/0.5339, allocations: 0.5766 MB / 1.15 GB, free: 4.238 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.534, allocations: 14.8 kB / 1.151 GB, free: 4.234 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.534, allocations: 57.97 kB / 1.151 GB, free: 4.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.5346, allocations: 155.8 kB / 1.151 GB, free: 4.148 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.535, allocations: 248.4 kB / 1.151 GB, free: 3.961 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5351, allocations: 21.22 kB / 1.151 GB, free: 3.949 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5351, allocations: 23.06 kB / 1.151 GB, free: 3.941 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.5354, allocations: 274.3 kB / 1.151 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5355, allocations: 1.062 kB / 1.151 GB, free: 3.805 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.5355, allocations: 10.06 kB / 1.151 GB, free: 3.797 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.5355, allocations: 9.062 kB / 1.151 GB, free: 3.793 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.5358, allocations: 198 kB / 1.151 GB, free: 3.738 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.5367, allocations: 0.9845 MB / 1.152 GB, free: 2.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.5369, allocations: 129 kB / 1.153 GB, free: 2.922 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.537, allocations: 85.86 kB / 1.153 GB, free: 2.895 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.5373, allocations: 74.44 kB / 1.153 GB, free: 2.887 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.5373, allocations: 32.62 kB / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.5373, allocations: 0 / 1.153 GB, free: 2.848 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0005078/0.5378, allocations: 294.2 kB / 1.153 GB, free: 2.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5379, allocations: 53.53 kB / 1.153 GB, free: 2.668 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.5381, allocations: 309.1 kB / 1.153 GB, free: 2.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5381, allocations: 26.8 kB / 1.153 GB, free: 2.469 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5382, allocations: 182.9 kB / 1.154 GB, free: 2.309 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.5383, allocations: 54.67 kB / 1.154 GB, free: 2.266 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.5383, allocations: 46.66 kB / 1.154 GB, free: 2.234 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.5384, allocations: 338.6 kB / 1.154 GB, free: 1.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5385, allocations: 63.11 kB / 1.154 GB, free: 1.895 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.5387, allocations: 202.8 kB / 1.154 GB, free: 1.727 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.5389, allocations: 190.7 kB / 1.154 GB, free: 1.625 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5389, allocations: 1.094 kB / 1.154 GB, free: 1.625 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002921/0.5392, allocations: 242 kB / 1.155 GB, free: 1.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5392, allocations: 5.031 kB / 1.155 GB, free: 1.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5392, allocations: 2.625 kB / 1.155 GB, free: 1.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.5392, allocations: 6.203 kB / 1.155 GB, free: 1.516 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5394, allocations: 42.2 kB / 1.155 GB, free: 1.512 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5394, allocations: 6.844 kB / 1.155 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.5395, allocations: 32.95 kB / 1.155 GB, free: 1.488 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.5395, allocations: 9 kB / 1.155 GB, free: 1.488 MB / 1.01 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 9.972e-05/0.5396, allocations: 148.2 kB / 1.155 GB, free: 1.355 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.5396, allocations: 38.06 kB / 1.155 GB, free: 1.332 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.5399, allocations: 218.8 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5399, allocations: 1.609 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5399, allocations: 1.156 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5399, allocations: 0.75 kB / 1.155 GB, free: 1.238 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.5406, allocations: 0.64 MB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5406, allocations: 2.312 kB / 1.156 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.5407, allocations: 32.77 kB / 1.156 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5407, allocations: 2.656 kB / 1.156 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.5407, allocations: 8.531 kB / 1.156 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5407, allocations: 2.344 kB / 1.156 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5407, allocations: 7.375 kB / 1.156 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.5412, allocations: 436 kB / 1.156 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.5412, allocations: 52.45 kB / 1.156 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5412, allocations: 3.922 kB / 1.156 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.5413, allocations: 11.98 kB / 1.156 GB, free: 476 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5414, allocations: 19.62 kB / 1.156 GB, free: 468 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5414, allocations: 10.73 kB / 1.156 GB, free: 464 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001563/0.5415, allocations: 220 kB / 1.157 GB, free: 348 kB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5415, allocations: 64 / 1.157 GB, free: 348 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003017/0.5419, allocations: 86.66 kB / 1.157 GB, free: 328 kB / 1.01 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.0007457/0.5426, allocations: 1.002 MB / 1.158 GB, free: 15.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.5429, allocations: 174.5 kB / 1.158 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5429, allocations: 1.188 kB / 1.158 GB, free: 15.45 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.543, allocations: 82.75 kB / 1.158 GB, free: 15.43 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.5435, allocations: 162 kB / 1.158 GB, free: 15.38 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.546, allocations: 2.856 MB / 1.161 GB, free: 13.47 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.5462, allocations: 173.4 kB / 1.161 GB, free: 13.38 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.5464, allocations: 67.27 kB / 1.161 GB, free: 13.36 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.5465, allocations: 85.83 kB / 1.161 GB, free: 13.3 MB / 1.026 GB Notification: Performance of SimCode: time 8.11e-07/0.5465, allocations: 0 / 1.161 GB, free: 13.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.5736, allocations: 9.879 MB / 1.171 GB, free: 11.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/6.99, allocations: 7.047 kB / 1.171 GB, free: 11.7 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.867077144794166]