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.001018/0.001018, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008284/0.008284, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 14.62 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1705/0.4758, allocations: 163 MB / 1.218 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.4788, allocations: 1.533 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.4792, allocations: 15.88 kB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.4797, allocations: 115.2 kB / 1.22 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.4815, allocations: 0.6614 MB / 1.22 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.483, allocations: 0.5442 MB / 1.221 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.4841, allocations: 0.9742 MB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.4845, allocations: 197.2 kB / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.4852, allocations: 310.7 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.4856, allocations: 223.1 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.4856, allocations: 12 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4873, allocations: 1.021 MB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.4874, allocations: 95.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.4876, allocations: 180.9 kB / 1.224 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.4889, allocations: 0.7634 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.4889, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4889, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.4889, allocations: 0 / 1.224 GB, free: 10.59 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.0009274/0.4898, allocations: 0.596 MB / 1.225 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4899, allocations: 11.97 kB / 1.225 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.49, allocations: 54.55 kB / 1.225 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.4912, allocations: 159.3 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.4916, allocations: 305.7 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4916, allocations: 16.44 kB / 1.226 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.4917, allocations: 24 kB / 1.226 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4922, allocations: 283.4 kB / 1.226 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4922, allocations: 0 / 1.226 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.4922, allocations: 12 kB / 1.226 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4922, allocations: 4 kB / 1.226 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.4926, allocations: 211.8 kB / 1.226 GB, free: 8.816 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.001377/0.494, allocations: 1.221 MB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.4943, allocations: 137 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4945, allocations: 100.8 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.4951, allocations: 323.2 kB / 1.228 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4951, allocations: 38.5 kB / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4952, allocations: 0 / 1.228 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007685/0.4959, allocations: 293.5 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.496, allocations: 51.41 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.4963, allocations: 320.5 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4963, allocations: 25.7 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4964, allocations: 180.2 kB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4965, allocations: 51.27 kB / 1.229 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.4965, allocations: 21.7 kB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4967, allocations: 346.8 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.4968, allocations: 71.95 kB / 1.229 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.4971, allocations: 137.5 kB / 1.229 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4974, allocations: 205 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4974, allocations: 0 / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004878/0.4979, allocations: 248.5 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.498, allocations: 4.094 kB / 1.23 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.498, allocations: 7.938 kB / 1.23 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.498, allocations: 4 kB / 1.23 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4982, allocations: 51.91 kB / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4982, allocations: 0 / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.4984, allocations: 35.77 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.4985, allocations: 8 kB / 1.23 GB, free: 4.719 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.0001384/0.4986, allocations: 153.7 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.4987, allocations: 31.62 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.4992, allocations: 228.3 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4992, allocations: 4 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4992, allocations: 0 / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4992, allocations: 3.984 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.5002, allocations: 0.6989 MB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5002, allocations: 4 kB / 1.231 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.5004, allocations: 27.98 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.5004, allocations: 12.16 kB / 1.231 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5004, allocations: 8 kB / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5004, allocations: 0 / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5004, allocations: 7.938 kB / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.5011, allocations: 447.4 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5012, allocations: 120.8 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.5012, allocations: 11.94 kB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5015, allocations: 19.98 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.5015, allocations: 11.92 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5015, allocations: 16.06 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002123/0.5017, allocations: 227 kB / 1.232 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.242e-06/0.5018, allocations: 0 / 1.232 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004033/0.5022, allocations: 83.78 kB / 1.232 GB, free: 2.484 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.00115/0.5033, allocations: 1.043 MB / 1.233 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.5038, allocations: 183.8 kB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5038, allocations: 0 / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.504, allocations: 92.45 kB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/0.505, allocations: 158.7 kB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.5086, allocations: 3.053 MB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.509, allocations: 0.7758 MB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000236/0.5092, allocations: 70.91 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5093, allocations: 87.41 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.5093, allocations: 0 / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.5302, allocations: 8.239 MB / 1.245 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.5304, allocations: 245.2 kB / 1.245 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.424, allocations: 0 / 1.245 GB, free: 4.539 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