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: 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.001029/0.001029, allocations: 91.92 kB / 16.02 MB, free: 80 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.001442/0.001442, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 10.34 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1766/0.5063, allocations: 163 MB / 1.218 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002918/0.5093, allocations: 1.53 MB / 1.22 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.5098, allocations: 15.88 kB / 1.22 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.5104, allocations: 123.2 kB / 1.22 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.5124, allocations: 0.6614 MB / 1.221 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.514, allocations: 0.5408 MB / 1.221 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.5154, allocations: 0.978 MB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.5158, allocations: 189.2 kB / 1.222 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.5166, allocations: 310.7 kB / 1.223 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.5171, allocations: 235.1 kB / 1.223 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.423e-05/0.5171, allocations: 16 kB / 1.223 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.519, allocations: 1.009 MB / 1.224 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.5192, allocations: 95.7 kB / 1.224 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.5194, allocations: 176.9 kB / 1.224 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009057/0.5203, allocations: 0.4989 MB / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5203, allocations: 4 kB / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5204, allocations: 0 / 1.225 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5204, allocations: 4 kB / 1.225 GB, free: 10.98 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.00105/0.5214, allocations: 0.59 MB / 1.225 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.5215, allocations: 12.03 kB / 1.225 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.5228, allocations: 159.3 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.5232, allocations: 297.7 kB / 1.226 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5233, allocations: 28.42 kB / 1.226 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.5233, allocations: 20 kB / 1.226 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.5239, allocations: 283.4 kB / 1.226 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5239, allocations: 8 kB / 1.226 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.5239, allocations: 4 kB / 1.226 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.524, allocations: 8 kB / 1.226 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.5244, allocations: 199.8 kB / 1.226 GB, free: 9.285 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.001515/0.5259, allocations: 1.213 MB / 1.227 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5262, allocations: 154.4 kB / 1.228 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.5264, allocations: 92.81 kB / 1.228 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.5271, allocations: 319.2 kB / 1.228 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5271, allocations: 38.5 kB / 1.228 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.5271, allocations: 0 / 1.228 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0008118/0.528, allocations: 289.5 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.528, allocations: 55.41 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.5283, allocations: 324.4 kB / 1.229 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.5284, allocations: 29.7 kB / 1.229 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5285, allocations: 180.2 kB / 1.229 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.5286, allocations: 51.27 kB / 1.229 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.5286, allocations: 25.66 kB / 1.229 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5287, allocations: 342.8 kB / 1.229 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5289, allocations: 67.95 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.5291, allocations: 129.8 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.5295, allocations: 197 kB / 1.23 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5296, allocations: 3.984 kB / 1.23 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004958/0.5301, allocations: 253.2 kB / 1.23 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5301, allocations: 9.25 kB / 1.23 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5301, allocations: 0 / 1.23 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5301, allocations: 7.938 kB / 1.23 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.5303, allocations: 39.92 kB / 1.23 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.5303, allocations: 4 kB / 1.23 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.5306, allocations: 47.75 kB / 1.23 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.5306, allocations: 8 kB / 1.23 GB, free: 5.184 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.0001443/0.5308, allocations: 145.8 kB / 1.23 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.5308, allocations: 31.56 kB / 1.23 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/0.5313, allocations: 239 kB / 1.23 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5313, allocations: 4 kB / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5314, allocations: 0 / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5314, allocations: 0 / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5324, allocations: 0.6952 MB / 1.231 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5325, allocations: 0 / 1.231 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5326, allocations: 43.91 kB / 1.231 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5327, allocations: 0 / 1.231 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5327, allocations: 7.938 kB / 1.231 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5327, allocations: 4 kB / 1.231 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5327, allocations: 4 kB / 1.231 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.5334, allocations: 453.1 kB / 1.232 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.5335, allocations: 120.8 kB / 1.232 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.5336, allocations: 11.92 kB / 1.232 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.5338, allocations: 16.06 kB / 1.232 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.5338, allocations: 23.91 kB / 1.232 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.5339, allocations: 4 kB / 1.232 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002238/0.5341, allocations: 223.1 kB / 1.232 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5341, allocations: 3.938 kB / 1.232 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004213/0.5345, allocations: 87.83 kB / 1.232 GB, free: 2.949 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.0004277/0.535, allocations: 151.1 kB / 1.232 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.5354, allocations: 187.9 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5354, allocations: 3.938 kB / 1.232 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.5356, allocations: 91.83 kB / 1.232 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.5367, allocations: 158.7 kB / 1.233 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.5378, allocations: 0.7661 MB / 1.233 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5381, allocations: 0.7758 MB / 1.234 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.5382, allocations: 23.44 kB / 1.234 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.5382, allocations: 0 / 1.234 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of Templates: time 0.008307/0.5465, allocations: 4.767 MB / 1.239 GB, free: 12.01 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/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