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.001759/0.001759, allocations: 112.5 kB / 15.73 MB, free: 76 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.002551/0.002551, allocations: 192.2 kB / 16.67 MB, free: 6.574 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 / 240.4 MB, free: 4.332 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.62/2.62, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9074/1.222, allocations: 167.4 MB / 1.33 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003321/1.225, allocations: 1.549 MB / 1.332 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/1.225, allocations: 11.47 kB / 1.332 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005619/1.226, allocations: 153.7 kB / 1.332 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002117/1.228, allocations: 0.7355 MB / 1.332 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/1.23, allocations: 0.6015 MB / 1.333 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009833/1.231, allocations: 0.7122 MB / 1.334 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/1.231, allocations: 226.7 kB / 1.334 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/1.232, allocations: 346.1 kB / 1.334 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/1.232, allocations: 218.8 kB / 1.334 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/1.232, allocations: 22.78 kB / 1.334 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/1.234, allocations: 0.8804 MB / 1.335 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/1.234, allocations: 108.2 kB / 1.335 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/1.234, allocations: 162.6 kB / 1.336 GB, free: 412 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/1.236, allocations: 0.7208 MB / 1.336 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.236, allocations: 5.219 kB / 1.336 GB, free: 164 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.724e-06/1.236, allocations: 0 / 1.336 GB, free: 164 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.823e-06/1.236, allocations: 0 / 1.336 GB, free: 164 kB / 1.014 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.237, allocations: 0.6545 MB / 1.337 GB, free: 15.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.237, allocations: 9.125 kB / 1.337 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.238, allocations: 160 kB / 1.337 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/1.238, allocations: 328.4 kB / 1.337 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.238, allocations: 21 kB / 1.337 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/1.239, allocations: 23.22 kB / 1.337 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/1.239, allocations: 280.1 kB / 1.338 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.239, allocations: 3.938 kB / 1.338 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/1.239, allocations: 6.688 kB / 1.338 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/1.239, allocations: 5.25 kB / 1.338 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/1.24, allocations: 199.1 kB / 1.338 GB, free: 15.07 MB / 1.029 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.001504/1.241, allocations: 1.212 MB / 1.339 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/1.241, allocations: 131.7 kB / 1.339 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.242, allocations: 91.23 kB / 1.339 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/1.242, allocations: 305.7 kB / 1.34 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/1.242, allocations: 43.06 kB / 1.34 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.242, allocations: 0 / 1.34 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007833/1.243, allocations: 290.2 kB / 1.34 GB, free: 13.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/1.243, allocations: 53.97 kB / 1.34 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/1.243, allocations: 314.3 kB / 1.34 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/1.243, allocations: 31.02 kB / 1.34 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.244, allocations: 180.6 kB / 1.341 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.861e-05/1.244, allocations: 62 kB / 1.341 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/1.244, allocations: 43.16 kB / 1.341 GB, free: 13.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.244, allocations: 338.4 kB / 1.341 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/1.244, allocations: 72.12 kB / 1.341 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/1.244, allocations: 124.2 kB / 1.341 GB, free: 12.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/1.245, allocations: 202.4 kB / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.245, allocations: 0 / 1.341 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004565/1.245, allocations: 233.8 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.245, allocations: 6.531 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.245, allocations: 7.828 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.245, allocations: 2.781 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/1.245, allocations: 40.11 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.245, allocations: 4.219 kB / 1.342 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/1.246, allocations: 32.78 kB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/1.246, allocations: 11.25 kB / 1.342 GB, free: 12.38 MB / 1.029 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.0001547/1.246, allocations: 150.7 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/1.246, allocations: 29.56 kB / 1.342 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/1.246, allocations: 225.2 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.246, allocations: 1.969 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.246, allocations: 0 / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.246, allocations: 1.406 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.247, allocations: 0.6773 MB / 1.343 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.247, allocations: 2.281 kB / 1.343 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/1.248, allocations: 33.94 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.248, allocations: 7.094 kB / 1.343 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.248, allocations: 15.53 kB / 1.343 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.248, allocations: 4.562 kB / 1.343 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.248, allocations: 2.75 kB / 1.343 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/1.248, allocations: 432.5 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/1.249, allocations: 125.7 kB / 1.343 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/1.249, allocations: 7.25 kB / 1.343 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/1.249, allocations: 16.59 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/1.249, allocations: 16.56 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.249, allocations: 12.53 kB / 1.343 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002362/1.249, allocations: 225.5 kB / 1.344 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.249, allocations: 0 / 1.344 GB, free: 11.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00043/1.249, allocations: 74.56 kB / 1.344 GB, free: 11.08 MB / 1.029 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.0004272/1.25, allocations: 167.3 kB / 1.344 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004432/1.25, allocations: 170.8 kB / 1.344 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.25, allocations: 1.438 kB / 1.344 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/1.251, allocations: 85.84 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/1.251, allocations: 174.4 kB / 1.344 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.253, allocations: 0.6092 MB / 1.345 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/1.253, allocations: 0.7778 MB / 1.346 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001928/1.253, allocations: 66.44 kB / 1.346 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/1.253, allocations: 23.84 kB / 1.346 GB, free: 9.695 MB / 1.029 GB Notification: Performance of SimCode: time 2.41e-07/1.253, allocations: 1.188 kB / 1.346 GB, free: 9.695 MB / 1.029 GB Notification: Performance of Templates: time 0.01219/1.265, allocations: 5.768 MB / 1.351 GB, free: 8.992 MB / 1.029 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/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