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.001433/0.001433, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001412/0.001412, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001325, allocations: 68.02 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3491, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8499/1.199, allocations: 167.4 MB / 1.19 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003266/1.202, allocations: 1.544 MB / 1.192 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/1.203, allocations: 10.97 kB / 1.192 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/1.203, allocations: 155.9 kB / 1.192 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/1.205, allocations: 0.6959 MB / 1.193 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/1.207, allocations: 0.6044 MB / 1.193 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009348/1.208, allocations: 0.7083 MB / 1.194 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/1.208, allocations: 233.6 kB / 1.194 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/1.209, allocations: 328 kB / 1.194 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/1.209, allocations: 219.4 kB / 1.195 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/1.209, allocations: 23.19 kB / 1.195 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/1.211, allocations: 0.8744 MB / 1.195 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/1.211, allocations: 109.5 kB / 1.196 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/1.211, allocations: 167.3 kB / 1.196 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/1.213, allocations: 0.7158 MB / 1.196 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.213, allocations: 0 / 1.196 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.765e-06/1.213, allocations: 0 / 1.196 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.213, allocations: 0 / 1.196 GB, free: 9.219 MB / 0.9044 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.001053/1.214, allocations: 0.6456 MB / 1.197 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.214, allocations: 13.62 kB / 1.197 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.215, allocations: 159.1 kB / 1.197 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/1.216, allocations: 314.1 kB / 1.197 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.216, allocations: 22.06 kB / 1.197 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/1.216, allocations: 22.97 kB / 1.198 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/1.216, allocations: 278 kB / 1.198 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.216, allocations: 5.281 kB / 1.198 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/1.216, allocations: 6.625 kB / 1.198 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/1.216, allocations: 9.719 kB / 1.198 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/1.217, allocations: 202.8 kB / 1.198 GB, free: 7.953 MB / 0.9044 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.001533/1.218, allocations: 1.207 MB / 1.199 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/1.219, allocations: 130.9 kB / 1.199 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/1.219, allocations: 92.52 kB / 1.199 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/1.219, allocations: 306.4 kB / 1.2 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.219, allocations: 36.91 kB / 1.2 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/1.219, allocations: 0 / 1.2 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0008127/1.22, allocations: 285.5 kB / 1.2 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.22, allocations: 53.78 kB / 1.2 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/1.221, allocations: 315.4 kB / 1.2 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.221, allocations: 29.7 kB / 1.2 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/1.221, allocations: 175.9 kB / 1.201 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/1.221, allocations: 59.28 kB / 1.201 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/1.221, allocations: 41.47 kB / 1.201 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.221, allocations: 342.6 kB / 1.201 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/1.221, allocations: 68.3 kB / 1.201 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/1.221, allocations: 120.8 kB / 1.201 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/1.222, allocations: 195.3 kB / 1.201 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.222, allocations: 2.188 kB / 1.201 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004403/1.222, allocations: 242.3 kB / 1.202 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.222, allocations: 4.625 kB / 1.202 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.222, allocations: 3.938 kB / 1.202 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.222, allocations: 2.562 kB / 1.202 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/1.223, allocations: 42.17 kB / 1.202 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.223, allocations: 6.438 kB / 1.202 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.223, allocations: 31.45 kB / 1.202 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.223, allocations: 13.58 kB / 1.202 GB, free: 4.895 MB / 0.9044 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.0001457/1.223, allocations: 155.8 kB / 1.202 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/1.223, allocations: 27.94 kB / 1.202 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/1.223, allocations: 228.2 kB / 1.202 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.224, allocations: 0 / 1.202 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.224, allocations: 0 / 1.202 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/1.224, allocations: 2.688 kB / 1.202 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.225, allocations: 0.6755 MB / 1.203 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.225, allocations: 6.625 kB / 1.203 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/1.225, allocations: 35.41 kB / 1.203 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.225, allocations: 2.781 kB / 1.203 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.225, allocations: 13.14 kB / 1.203 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.225, allocations: 7.766 kB / 1.203 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.225, allocations: 0 / 1.203 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/1.225, allocations: 436.1 kB / 1.203 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.226, allocations: 124.6 kB / 1.203 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/1.226, allocations: 10.31 kB / 1.203 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.226, allocations: 13.58 kB / 1.203 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.226, allocations: 15.73 kB / 1.203 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.226, allocations: 9.375 kB / 1.203 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000215/1.226, allocations: 226.8 kB / 1.204 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.226, allocations: 0 / 1.204 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004144/1.227, allocations: 69.44 kB / 1.204 GB, free: 3.367 MB / 0.9044 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.0004557/1.227, allocations: 169.7 kB / 1.204 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004447/1.227, allocations: 167.3 kB / 1.204 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.227, allocations: 4.188 kB / 1.204 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/1.228, allocations: 93.91 kB / 1.204 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/1.229, allocations: 167.6 kB / 1.204 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.23, allocations: 0.6037 MB / 1.205 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.23, allocations: 0.7803 MB / 1.206 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001962/1.23, allocations: 65.7 kB / 1.206 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/1.23, allocations: 24.09 kB / 1.206 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.23, allocations: 0 / 1.206 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of Templates: time 0.01099/1.241, allocations: 5.739 MB / 1.211 GB, free: 14.99 MB / 0.92 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 -s cvode -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