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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002164/0.002164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002026/0.002026, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.894/2.894, allocations: 437 MB / 0.7101 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7783, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2154/0.9938, allocations: 165.1 MB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.997, allocations: 1.532 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.9974, allocations: 11.94 kB / 1.18 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.998, allocations: 127.2 kB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.9999, allocations: 0.6575 MB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/1.002, allocations: 0.5645 MB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001024/1.003, allocations: 0.705 MB / 1.182 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/1.003, allocations: 221.1 kB / 1.182 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006529/1.004, allocations: 342.7 kB / 1.182 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/1.004, allocations: 239.1 kB / 1.182 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/1.004, allocations: 20 kB / 1.182 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/1.006, allocations: 0.896 MB / 1.183 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/1.006, allocations: 111.7 kB / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/1.006, allocations: 163.2 kB / 1.183 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/1.008, allocations: 0.7752 MB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.008, allocations: 0 / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.174e-06/1.008, allocations: 0 / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.837e-06/1.008, allocations: 0 / 1.184 GB, free: 6.703 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.001167/1.009, allocations: 0.6466 MB / 1.185 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.009, allocations: 12.03 kB / 1.185 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.01, allocations: 159.3 kB / 1.185 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/1.011, allocations: 301.7 kB / 1.185 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.011, allocations: 16.44 kB / 1.185 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/1.011, allocations: 27.94 kB / 1.185 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/1.011, allocations: 279.5 kB / 1.186 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.011, allocations: 0 / 1.186 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/1.011, allocations: 11.94 kB / 1.186 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.011, allocations: 4 kB / 1.186 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/1.012, allocations: 203.7 kB / 1.186 GB, free: 4.953 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.001674/1.014, allocations: 1.209 MB / 1.187 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/1.014, allocations: 136.6 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/1.014, allocations: 92.8 kB / 1.187 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/1.015, allocations: 303.2 kB / 1.188 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.015, allocations: 38.44 kB / 1.188 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/1.015, allocations: 0 / 1.188 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0009093/1.016, allocations: 277.5 kB / 1.188 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/1.016, allocations: 55.41 kB / 1.188 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/1.016, allocations: 316.5 kB / 1.188 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/1.016, allocations: 29.7 kB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/1.017, allocations: 180.2 kB / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/1.017, allocations: 55.19 kB / 1.188 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/1.017, allocations: 49.7 kB / 1.188 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.017, allocations: 334.8 kB / 1.189 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.017, allocations: 71.89 kB / 1.189 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/1.017, allocations: 132.9 kB / 1.189 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/1.018, allocations: 184.6 kB / 1.189 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.018, allocations: 0 / 1.189 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005032/1.018, allocations: 245.1 kB / 1.189 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.018, allocations: 8 kB / 1.189 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.018, allocations: 0 / 1.189 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.018, allocations: 4 kB / 1.189 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/1.019, allocations: 48.05 kB / 1.189 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.019, allocations: 0 / 1.189 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/1.019, allocations: 39.77 kB / 1.19 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.019, allocations: 19.98 kB / 1.19 GB, free: 0.9062 MB / 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.0001703/1.019, allocations: 153.7 kB / 1.19 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/1.019, allocations: 23.72 kB / 1.19 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/1.02, allocations: 217.6 kB / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.02, allocations: 0 / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/1.02, allocations: 0 / 1.19 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.02, allocations: 4 kB / 1.19 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/1.021, allocations: 0.6874 MB / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.021, allocations: 0 / 1.191 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.021, allocations: 27.98 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.021, allocations: 7.938 kB / 1.191 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.021, allocations: 11.98 kB / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.021, allocations: 0 / 1.191 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.021, allocations: 7.938 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/1.022, allocations: 434.4 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/1.022, allocations: 124.6 kB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/1.022, allocations: 7.938 kB / 1.191 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/1.023, allocations: 19.92 kB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/1.023, allocations: 11.98 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.023, allocations: 8 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003719/1.023, allocations: 231.1 kB / 1.191 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.023, allocations: 0 / 1.191 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005286/1.024, allocations: 72 kB / 1.191 GB, free: 14.74 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.0006264/1.024, allocations: 177.5 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005623/1.025, allocations: 175.8 kB / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.025, allocations: 0 / 1.192 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.025, allocations: 83.83 kB / 1.192 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/1.026, allocations: 185.8 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/1.027, allocations: 0.6795 MB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/1.028, allocations: 0.7795 MB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002504/1.028, allocations: 62.88 kB / 1.194 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/1.028, allocations: 31.44 kB / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of SimCode: time 5.62e-07/1.028, allocations: 0 / 1.194 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of Templates: time 0.01259/1.041, allocations: 5.645 MB / 1.199 GB, free: 6.965 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches