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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009912/0.0009909, allocations: 91.53 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.005978/0.005978, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.000328, allocations: 10 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3364, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1841/0.5205, allocations: 163 MB / 1.218 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.5234, allocations: 1.544 MB / 1.219 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.524, allocations: 11.88 kB / 1.219 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.5246, allocations: 115.3 kB / 1.219 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.5268, allocations: 0.6653 MB / 1.22 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.5285, allocations: 0.5492 MB / 1.221 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.5297, allocations: 0.9703 MB / 1.222 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.5302, allocations: 197.2 kB / 1.222 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/0.531, allocations: 298.8 kB / 1.222 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.5315, allocations: 231 kB / 1.222 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.5315, allocations: 12 kB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5333, allocations: 1.009 MB / 1.223 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.5335, allocations: 103.6 kB / 1.223 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.5337, allocations: 180.9 kB / 1.224 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.535, allocations: 0.7634 MB / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5351, allocations: 0 / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5351, allocations: 0 / 1.224 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5351, allocations: 0 / 1.224 GB, free: 11.22 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.0009948/0.5361, allocations: 0.596 MB / 1.225 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5361, allocations: 8.031 kB / 1.225 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5374, allocations: 163.3 kB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.5378, allocations: 297.7 kB / 1.225 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.5379, allocations: 20.44 kB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.5379, allocations: 24 kB / 1.225 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.5385, allocations: 291.4 kB / 1.226 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5385, allocations: 3.984 kB / 1.226 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.5385, allocations: 4 kB / 1.226 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.5385, allocations: 12 kB / 1.226 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004527/0.539, allocations: 207.8 kB / 1.226 GB, free: 9.504 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.001502/0.5405, allocations: 1.213 MB / 1.227 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.5408, allocations: 142.5 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.541, allocations: 96.8 kB / 1.227 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.5417, allocations: 319.2 kB / 1.228 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5417, allocations: 34.5 kB / 1.228 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.5417, allocations: 0 / 1.228 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0008239/0.5426, allocations: 292 kB / 1.228 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.5426, allocations: 59.41 kB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.543, allocations: 324.4 kB / 1.228 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.543, allocations: 25.7 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5431, allocations: 180.2 kB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.5432, allocations: 55.25 kB / 1.229 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.5432, allocations: 21.72 kB / 1.229 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5434, allocations: 338.8 kB / 1.229 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.5436, allocations: 79.88 kB / 1.229 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.5438, allocations: 126.7 kB / 1.229 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.5442, allocations: 205 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5442, allocations: 0 / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005184/0.5447, allocations: 249.2 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5447, allocations: 8 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5447, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5448, allocations: 4 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.545, allocations: 44.06 kB / 1.23 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.545, allocations: 7.938 kB / 1.23 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.5452, allocations: 43.61 kB / 1.23 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.5453, allocations: 8 kB / 1.23 GB, free: 5.41 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.0001503/0.5454, allocations: 149.8 kB / 1.23 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.5455, allocations: 35.62 kB / 1.23 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.546, allocations: 228.3 kB / 1.23 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.546, allocations: 4 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5461, allocations: 0 / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5461, allocations: 0 / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5471, allocations: 0.699 MB / 1.231 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5472, allocations: 0 / 1.231 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5473, allocations: 43.91 kB / 1.231 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.5474, allocations: 4 kB / 1.231 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.5474, allocations: 11.94 kB / 1.231 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5474, allocations: 0 / 1.231 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5474, allocations: 4.219 kB / 1.231 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.5481, allocations: 444.9 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5482, allocations: 120.8 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.5483, allocations: 11.94 kB / 1.231 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.5485, allocations: 16.05 kB / 1.231 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.5485, allocations: 19.92 kB / 1.231 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5486, allocations: 4 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002323/0.5488, allocations: 227 kB / 1.232 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5488, allocations: 0 / 1.232 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004059/0.5492, allocations: 83.84 kB / 1.232 GB, free: 3.184 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.0003893/0.5496, allocations: 169.8 kB / 1.232 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004548/0.5501, allocations: 179.8 kB / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5501, allocations: 0 / 1.232 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5503, allocations: 92.45 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5513, allocations: 164.8 kB / 1.232 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5524, allocations: 0.7295 MB / 1.233 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5528, allocations: 0.7798 MB / 1.234 GB, free: 1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.5531, allocations: 66.92 kB / 1.234 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.5532, allocations: 23.44 kB / 1.234 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.5532, allocations: 0 / 1.234 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of Templates: time 0.01177/0.5649, allocations: 5.433 MB / 1.239 GB, free: 11.57 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