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.001428/0.001428, 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.001598/0.001598, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.7 MB / 0.7452 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.77 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4061, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1833/0.5895, allocations: 167.4 MB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.5924, allocations: 1.553 MB / 1.233 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.5927, allocations: 11.94 kB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.5933, allocations: 150.9 kB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.595, allocations: 0.7 MB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.5966, allocations: 0.5992 MB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008073/0.5974, allocations: 0.7013 MB / 1.235 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.5978, allocations: 229.1 kB / 1.236 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.5985, allocations: 334.8 kB / 1.236 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.5988, allocations: 219 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.5989, allocations: 24 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.6006, allocations: 0.865 MB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.6008, allocations: 115.7 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.601, allocations: 163.2 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.6022, allocations: 0.7091 MB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6022, allocations: 0 / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6022, allocations: 0 / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6022, allocations: 0 / 1.238 GB, free: 12.02 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.001001/0.6032, allocations: 0.6543 MB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6033, allocations: 8.031 kB / 1.239 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6045, allocations: 151.5 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.6049, allocations: 309.7 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6049, allocations: 20.44 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.605, allocations: 16 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.6055, allocations: 287.3 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6055, allocations: 4 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.6055, allocations: 8 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.6056, allocations: 4 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.606, allocations: 191.8 kB / 1.239 GB, free: 10.28 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.001435/0.6074, allocations: 1.221 MB / 1.241 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.6077, allocations: 130.5 kB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6079, allocations: 88.8 kB / 1.241 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/0.6086, allocations: 303.2 kB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.6086, allocations: 42.44 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.6086, allocations: 0 / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0008037/0.6094, allocations: 283.4 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.6095, allocations: 59.34 kB / 1.242 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.6098, allocations: 308.5 kB / 1.242 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6099, allocations: 33.7 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.61, allocations: 184.1 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.6101, allocations: 43.36 kB / 1.242 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.6102, allocations: 53.61 kB / 1.242 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6103, allocations: 338.8 kB / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.6105, allocations: 63.89 kB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.6107, allocations: 130.5 kB / 1.243 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.6111, allocations: 192.5 kB / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6111, allocations: 0 / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004908/0.6116, allocations: 245.3 kB / 1.243 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6116, allocations: 8 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6116, allocations: 0 / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6117, allocations: 4 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.6119, allocations: 47.91 kB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6119, allocations: 4 kB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6121, allocations: 31.67 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.6122, allocations: 8 kB / 1.243 GB, free: 6.242 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.0001652/0.6123, allocations: 155.5 kB / 1.243 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.6124, allocations: 31.62 kB / 1.243 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.6129, allocations: 216.3 kB / 1.244 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.6129, allocations: 4 kB / 1.244 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6129, allocations: 0 / 1.244 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.613, allocations: 3.984 kB / 1.244 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.6141, allocations: 0.6795 MB / 1.244 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6142, allocations: 8.156 kB / 1.244 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.6143, allocations: 35.98 kB / 1.244 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.6144, allocations: 3.938 kB / 1.244 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.6144, allocations: 4 kB / 1.244 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6144, allocations: 8.062 kB / 1.244 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6144, allocations: 11.92 kB / 1.244 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.6151, allocations: 419.2 kB / 1.245 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.6152, allocations: 124.7 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.6153, allocations: 19.94 kB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.6155, allocations: 7.984 kB / 1.245 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.6156, allocations: 19.92 kB / 1.245 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.6156, allocations: 4 kB / 1.245 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002525/0.6158, allocations: 227 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6158, allocations: 0 / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004542/0.6163, allocations: 83.84 kB / 1.245 GB, free: 4.059 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.0004153/0.6167, allocations: 169.9 kB / 1.245 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.6172, allocations: 179.9 kB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6172, allocations: 192 / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.6174, allocations: 91.83 kB / 1.246 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.6183, allocations: 170.4 kB / 1.246 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.6193, allocations: 0.6015 MB / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.6196, allocations: 0.7795 MB / 1.247 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.6199, allocations: 66.92 kB / 1.247 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.6199, allocations: 23.44 kB / 1.247 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/0.6199, allocations: 3.938 kB / 1.247 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of Templates: time 0.5518/1.172, allocations: 5.728 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