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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001687, allocations: 195.7 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 461.8 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 66.09 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1606/0.4512, allocations: 165.1 MB / 1.213 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.4538, allocations: 1.563 MB / 1.215 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.4541, allocations: 11.94 kB / 1.215 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.4546, allocations: 115.2 kB / 1.215 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.4562, allocations: 0.673 MB / 1.216 GB, free: 68 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.4575, allocations: 0.5411 MB / 1.216 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.4585, allocations: 0.9742 MB / 1.217 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.4589, allocations: 185.3 kB / 1.217 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.4595, allocations: 314.7 kB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.4598, allocations: 235.1 kB / 1.218 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.4599, allocations: 19.94 kB / 1.218 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.4614, allocations: 1.009 MB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4615, allocations: 103.7 kB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.4617, allocations: 151.3 kB / 1.219 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4628, allocations: 0.7751 MB / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4628, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.92e-07/0.4628, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4628, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9825 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.0008802/0.4637, allocations: 0.6426 MB / 1.221 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4638, allocations: 15.97 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.4638, allocations: 62.53 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.465, allocations: 155.4 kB / 1.221 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4653, allocations: 305.7 kB / 1.221 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4654, allocations: 12.44 kB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.4654, allocations: 24 kB / 1.221 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.4659, allocations: 275.5 kB / 1.221 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4659, allocations: 7.938 kB / 1.221 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4659, allocations: 8 kB / 1.221 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4659, allocations: 4 kB / 1.221 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.4663, allocations: 195.8 kB / 1.222 GB, free: 9.965 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.4676, allocations: 1.213 MB / 1.223 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.4679, allocations: 138.5 kB / 1.223 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.4681, allocations: 90.77 kB / 1.223 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/0.4688, allocations: 307.2 kB / 1.223 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.4688, allocations: 34.56 kB / 1.223 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.4688, allocations: 0 / 1.223 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.000749/0.4696, allocations: 281.4 kB / 1.224 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.4696, allocations: 51.41 kB / 1.224 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.4699, allocations: 320.4 kB / 1.224 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.47, allocations: 29.7 kB / 1.224 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4701, allocations: 180.2 kB / 1.224 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.4701, allocations: 55.19 kB / 1.224 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.4702, allocations: 49.64 kB / 1.224 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4703, allocations: 342.8 kB / 1.225 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4705, allocations: 67.95 kB / 1.225 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4707, allocations: 121.6 kB / 1.225 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4711, allocations: 193 kB / 1.225 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4711, allocations: 0 / 1.225 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004556/0.4715, allocations: 241.1 kB / 1.225 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4716, allocations: 9.875 kB / 1.225 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4716, allocations: 4.094 kB / 1.225 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4716, allocations: 4 kB / 1.225 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4718, allocations: 43.92 kB / 1.225 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4718, allocations: 0 / 1.225 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.472, allocations: 35.73 kB / 1.225 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.4721, allocations: 7.984 kB / 1.225 GB, free: 5.926 MB / 0.9825 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.0001263/0.4722, allocations: 157.7 kB / 1.225 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.4722, allocations: 27.62 kB / 1.225 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004325/0.4727, allocations: 223.9 kB / 1.226 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4727, allocations: 0 / 1.226 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.4727, allocations: 3.938 kB / 1.226 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4727, allocations: 0 / 1.226 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.4737, allocations: 0.6835 MB / 1.226 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4737, allocations: 0 / 1.226 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.4739, allocations: 40.19 kB / 1.226 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.4739, allocations: 7.938 kB / 1.226 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4739, allocations: 4 kB / 1.226 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4739, allocations: 3.938 kB / 1.226 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4739, allocations: 4 kB / 1.226 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006369/0.4746, allocations: 432.9 kB / 1.227 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4747, allocations: 120.7 kB / 1.227 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.4748, allocations: 11.98 kB / 1.227 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.475, allocations: 12.06 kB / 1.227 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.475, allocations: 15.98 kB / 1.227 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.475, allocations: 7.984 kB / 1.227 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002154/0.4752, allocations: 223.1 kB / 1.227 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4753, allocations: 3.938 kB / 1.227 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000404/0.4757, allocations: 87.83 kB / 1.227 GB, free: 3.738 MB / 0.9825 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.001185/0.4769, allocations: 1.024 MB / 1.228 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.4773, allocations: 182.4 kB / 1.228 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4773, allocations: 0 / 1.228 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4775, allocations: 79.89 kB / 1.229 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.4784, allocations: 158.5 kB / 1.229 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.4819, allocations: 2.981 MB / 1.232 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.4823, allocations: 0.7798 MB / 1.232 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002397/0.4825, allocations: 66.92 kB / 1.232 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4827, allocations: 87.41 kB / 1.232 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.4827, allocations: 0 / 1.232 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.5018, allocations: 8.372 MB / 1.241 GB, free: 6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.502, allocations: 247.7 kB / 1.241 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.403, allocations: 0 / 1.241 GB, free: 5.738 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches