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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 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.001947/0.001947, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 72.27 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3798, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1901/0.5699, allocations: 167.4 MB / 1.232 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.5728, allocations: 1.535 MB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.5731, allocations: 11.94 kB / 1.233 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.5737, allocations: 150.8 kB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.5755, allocations: 0.7039 MB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.5771, allocations: 0.6067 MB / 1.235 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.578, allocations: 0.7012 MB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.5784, allocations: 225.1 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.579, allocations: 330.8 kB / 1.236 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.5793, allocations: 219.1 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.5794, allocations: 24 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5811, allocations: 0.8767 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.5813, allocations: 111.7 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.5815, allocations: 163.2 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.5828, allocations: 0.7168 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5829, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5829, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.5829, allocations: 0 / 1.238 GB, free: 12.06 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.001009/0.5839, allocations: 0.6426 MB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5839, allocations: 16.03 kB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5852, allocations: 155.4 kB / 1.239 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.5856, allocations: 305.7 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5857, allocations: 16.44 kB / 1.239 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.5857, allocations: 24 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.5862, allocations: 287.3 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5862, allocations: 0 / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.5863, allocations: 8 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.5863, allocations: 4 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.5867, allocations: 191.8 kB / 1.239 GB, free: 10.32 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.001477/0.5882, allocations: 1.221 MB / 1.241 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5885, allocations: 134.5 kB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.5887, allocations: 88.8 kB / 1.241 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.5894, allocations: 303.2 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5894, allocations: 38.5 kB / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.5894, allocations: 0 / 1.241 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007277/0.5901, allocations: 277.4 kB / 1.241 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.5902, allocations: 63.34 kB / 1.241 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5905, allocations: 312.5 kB / 1.242 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.5905, allocations: 25.7 kB / 1.242 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.5907, allocations: 184.1 kB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.5907, allocations: 51.34 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.5908, allocations: 49.61 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.591, allocations: 342.8 kB / 1.242 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.5911, allocations: 71.94 kB / 1.242 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5913, allocations: 123.1 kB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.5917, allocations: 182.3 kB / 1.243 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5917, allocations: 0 / 1.243 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004417/0.5921, allocations: 247.2 kB / 1.243 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5922, allocations: 4 kB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.5922, allocations: 4 kB / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5922, allocations: 0 / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.5924, allocations: 47.91 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.5924, allocations: 4 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5926, allocations: 31.67 kB / 1.243 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.5926, allocations: 8 kB / 1.243 GB, free: 6.293 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.0001464/0.5928, allocations: 157.8 kB / 1.243 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.5928, allocations: 31.56 kB / 1.243 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.5933, allocations: 221.8 kB / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5933, allocations: 0 / 1.243 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5933, allocations: 3.984 kB / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5933, allocations: 0 / 1.243 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.5943, allocations: 0.6914 MB / 1.244 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5943, allocations: 8.031 kB / 1.244 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.5945, allocations: 31.92 kB / 1.244 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5945, allocations: 7.938 kB / 1.244 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5945, allocations: 8 kB / 1.244 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5945, allocations: 3.984 kB / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5945, allocations: 4 kB / 1.244 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.5952, allocations: 427.2 kB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5953, allocations: 120.7 kB / 1.245 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.5953, allocations: 12 kB / 1.245 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.5955, allocations: 11.98 kB / 1.245 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.5956, allocations: 11.98 kB / 1.245 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5956, allocations: 12 kB / 1.245 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002123/0.5958, allocations: 223 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.423e-06/0.5958, allocations: 0 / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003752/0.5962, allocations: 87.78 kB / 1.245 GB, free: 4.102 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.0003733/0.5966, allocations: 162.5 kB / 1.245 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.597, allocations: 179.8 kB / 1.245 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.597, allocations: 4.188 kB / 1.245 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.5972, allocations: 87.81 kB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008437/0.598, allocations: 170.5 kB / 1.246 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.599, allocations: 0.6056 MB / 1.246 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5994, allocations: 0.7795 MB / 1.247 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.5996, allocations: 58.94 kB / 1.247 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.5996, allocations: 27.42 kB / 1.247 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.5996, allocations: 0 / 1.247 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.5238/1.123, allocations: 5.735 MB / 1.253 GB, free: 185.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches