Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_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.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 66.73 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1884/0.5521, allocations: 167.4 MB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.555, allocations: 1.54 MB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.5552, allocations: 15.88 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.5557, allocations: 146.9 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.5573, allocations: 0.7039 MB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.5586, allocations: 0.6036 MB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007488/0.5594, allocations: 0.6974 MB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.5598, allocations: 233.1 kB / 1.231 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.5603, allocations: 338.7 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.5606, allocations: 223 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.5606, allocations: 20 kB / 1.232 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.562, allocations: 0.869 MB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.5621, allocations: 111.6 kB / 1.233 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.5623, allocations: 163.2 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009677/0.5633, allocations: 0.7091 MB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5633, allocations: 0 / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5633, allocations: 0 / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5633, allocations: 0 / 1.234 GB, free: 15.86 MB / 0.9981 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.0009428/0.5642, allocations: 0.6582 MB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5643, allocations: 16.02 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.5644, allocations: 54.55 kB / 1.234 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5654, allocations: 155.5 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.5658, allocations: 301.7 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.5659, allocations: 16.44 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.5659, allocations: 24 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.5664, allocations: 283.4 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5664, allocations: 0 / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.5665, allocations: 8 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5665, allocations: 4 kB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.5669, allocations: 199.8 kB / 1.235 GB, free: 14.05 MB / 0.9981 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.001425/0.5683, allocations: 1.217 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.5686, allocations: 134.5 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.5688, allocations: 92.81 kB / 1.237 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/0.5694, allocations: 307.2 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5695, allocations: 30.56 kB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.5695, allocations: 0 / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007429/0.5702, allocations: 290.6 kB / 1.237 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5703, allocations: 51.41 kB / 1.237 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.5706, allocations: 312.5 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.5707, allocations: 29.64 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.5708, allocations: 180.2 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.5709, allocations: 59.2 kB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.5709, allocations: 45.61 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5711, allocations: 338.8 kB / 1.238 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5713, allocations: 67.95 kB / 1.238 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.5715, allocations: 121 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.5718, allocations: 189.4 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5719, allocations: 3.938 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004517/0.5723, allocations: 238.3 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5723, allocations: 8 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5723, allocations: 0 / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5724, allocations: 4 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.5726, allocations: 47.91 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5726, allocations: 0 / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.5728, allocations: 23.75 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.5728, allocations: 20.08 kB / 1.239 GB, free: 10.02 MB / 0.9981 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.0001441/0.5729, allocations: 146.3 kB / 1.239 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.573, allocations: 31.62 kB / 1.239 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.5735, allocations: 225.4 kB / 1.239 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5735, allocations: 0 / 1.239 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5735, allocations: 0 / 1.239 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5735, allocations: 0 / 1.239 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009976/0.5745, allocations: 0.6877 MB / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5745, allocations: 0 / 1.24 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.5747, allocations: 35.91 kB / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.5747, allocations: 11.92 kB / 1.24 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.5747, allocations: 8 kB / 1.24 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.5747, allocations: 4 kB / 1.24 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5747, allocations: 0 / 1.24 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000649/0.5754, allocations: 435.3 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5755, allocations: 128.8 kB / 1.241 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.5756, allocations: 3.984 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.5757, allocations: 12 kB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5758, allocations: 15.86 kB / 1.241 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.5758, allocations: 12 kB / 1.241 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002241/0.576, allocations: 227 kB / 1.241 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.576, allocations: 0 / 1.241 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003539/0.5764, allocations: 79.84 kB / 1.241 GB, free: 7.836 MB / 0.9981 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.001208/0.5776, allocations: 1.027 MB / 1.242 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.578, allocations: 176.9 kB / 1.242 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5781, allocations: 3.938 kB / 1.242 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5782, allocations: 87.88 kB / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.5791, allocations: 160.3 kB / 1.242 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.5826, allocations: 2.912 MB / 1.245 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.583, allocations: 0.7795 MB / 1.246 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.5832, allocations: 66.94 kB / 1.246 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5833, allocations: 91.34 kB / 1.246 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of SimCode: time 4e-07/0.5834, allocations: 0 / 1.246 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/1.718, allocations: 8.74 MB / 1.255 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/14.14, allocations: 8.781 kB / 1.255 GB, free: 188.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches