Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.0009423/0.0009427, allocations: 92.16 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.001312/0.001313, allocations: 172.2 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 12.23 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7145, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1822/0.8968, allocations: 163 MB / 1.183 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.8996, allocations: 1.538 MB / 1.184 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.8999, allocations: 11.94 kB / 1.184 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.9004, allocations: 119.2 kB / 1.184 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.902, allocations: 0.6652 MB / 1.185 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.9035, allocations: 0.5482 MB / 1.186 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.9046, allocations: 0.9742 MB / 1.187 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.9049, allocations: 193.2 kB / 1.187 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005803/0.9055, allocations: 306.7 kB / 1.187 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.9058, allocations: 227 kB / 1.187 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.9059, allocations: 12 kB / 1.187 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.9075, allocations: 1.013 MB / 1.188 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.9076, allocations: 95.7 kB / 1.188 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.9078, allocations: 184.8 kB / 1.189 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.9084, allocations: 0.495 MB / 1.189 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9084, allocations: 0 / 1.189 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9084, allocations: 0 / 1.189 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.9085, allocations: 0 / 1.189 GB, free: 5.883 MB / 0.9356 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.0008755/0.9093, allocations: 0.5883 MB / 1.19 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.9094, allocations: 12.03 kB / 1.19 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.9105, allocations: 159.4 kB / 1.19 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.911, allocations: 309.6 kB / 1.19 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.911, allocations: 16.44 kB / 1.19 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.911, allocations: 24 kB / 1.19 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.9116, allocations: 283.4 kB / 1.19 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9116, allocations: 3.938 kB / 1.19 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.9116, allocations: 12 kB / 1.19 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.9116, allocations: 7.984 kB / 1.19 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.9121, allocations: 223.7 kB / 1.191 GB, free: 4.156 MB / 0.9356 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.001383/0.9135, allocations: 1.205 MB / 1.192 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.9138, allocations: 142.5 kB / 1.192 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.914, allocations: 96.8 kB / 1.192 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.9146, allocations: 315.2 kB / 1.192 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.9146, allocations: 34.5 kB / 1.192 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.9146, allocations: 0 / 1.192 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007785/0.9154, allocations: 297.5 kB / 1.193 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.9155, allocations: 55.41 kB / 1.193 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.9158, allocations: 316.5 kB / 1.193 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.9158, allocations: 33.64 kB / 1.193 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.916, allocations: 188 kB / 1.193 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.916, allocations: 51.2 kB / 1.193 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.9161, allocations: 29.64 kB / 1.193 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9162, allocations: 338.8 kB / 1.194 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.9164, allocations: 71.95 kB / 1.194 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.9166, allocations: 131.8 kB / 1.194 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.917, allocations: 198.1 kB / 1.194 GB, free: 440 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.917, allocations: 0 / 1.194 GB, free: 440 kB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004721/0.9175, allocations: 253.1 kB / 1.194 GB, free: 184 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9175, allocations: 4 kB / 1.194 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.9175, allocations: 4 kB / 1.194 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9175, allocations: 0 / 1.194 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.9177, allocations: 56 kB / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9178, allocations: 0 / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.918, allocations: 39.67 kB / 1.194 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.918, allocations: 8 kB / 1.194 GB, free: 72 kB / 0.9356 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.0001661/0.9182, allocations: 157.7 kB / 1.195 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.9183, allocations: 31.62 kB / 1.195 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004962/0.9188, allocations: 230.5 kB / 1.195 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9188, allocations: 0 / 1.195 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9188, allocations: 0 / 1.195 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9188, allocations: 11.92 kB / 1.195 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.9198, allocations: 0.6874 MB / 1.195 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9198, allocations: 4 kB / 1.195 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.92, allocations: 31.98 kB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.92, allocations: 0 / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.9201, allocations: 19.88 kB / 1.195 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.9201, allocations: 7.938 kB / 1.196 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9201, allocations: 224 / 1.196 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.9207, allocations: 449 kB / 1.196 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9209, allocations: 124.6 kB / 1.196 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.9209, allocations: 7.938 kB / 1.196 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.9211, allocations: 24.05 kB / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.9212, allocations: 11.98 kB / 1.196 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.9212, allocations: 8 kB / 1.196 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002114/0.9214, allocations: 227 kB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9214, allocations: 3.938 kB / 1.196 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003916/0.9218, allocations: 79.91 kB / 1.196 GB, free: 13.84 MB / 0.9512 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.0004129/0.9222, allocations: 168.1 kB / 1.197 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.9227, allocations: 179.8 kB / 1.197 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9227, allocations: 4 kB / 1.197 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.9229, allocations: 92.45 kB / 1.197 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.9239, allocations: 157.8 kB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.925, allocations: 0.7548 MB / 1.198 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.9253, allocations: 0.7796 MB / 1.198 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.9254, allocations: 27.44 kB / 1.198 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.9254, allocations: 4 kB / 1.198 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of Templates: time 0.007679/0.9331, allocations: 4.749 MB / 1.203 GB, free: 6.906 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches