Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.01153/0.01153, allocations: 99.7 kB / 15.73 MB, free: 6.051 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.002454/0.002454, allocations: 196.5 kB / 16.67 MB, free: 5.957 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 68.12 kB / 1.065 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 159.1 MB / 1.221 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2331/1.309, allocations: 167.8 MB / 1.385 GB, free: 9.602 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003138/1.312, allocations: 1.546 MB / 1.386 GB, free: 8.055 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/1.312, allocations: 11.94 kB / 1.386 GB, free: 8.043 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005517/1.313, allocations: 146.9 kB / 1.386 GB, free: 7.898 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/1.315, allocations: 0.7429 MB / 1.387 GB, free: 7.152 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/1.316, allocations: 0.6098 MB / 1.387 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008423/1.317, allocations: 0.7012 MB / 1.388 GB, free: 5.836 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/1.318, allocations: 204.8 kB / 1.388 GB, free: 5.633 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/1.318, allocations: 342.7 kB / 1.389 GB, free: 5.297 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/1.319, allocations: 223.1 kB / 1.389 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/1.319, allocations: 20 kB / 1.389 GB, free: 5.059 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/1.32, allocations: 0.8728 MB / 1.39 GB, free: 4.184 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/1.32, allocations: 107.6 kB / 1.39 GB, free: 4.078 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/1.32, allocations: 171.2 kB / 1.39 GB, free: 3.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/1.321, allocations: 0.7249 MB / 1.391 GB, free: 3.188 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.321, allocations: 0 / 1.391 GB, free: 3.188 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.473e-06/1.321, allocations: 0 / 1.391 GB, free: 3.188 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.257e-05/1.322, allocations: 0 / 1.391 GB, free: 3.188 MB / 1.107 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.0009884/1.322, allocations: 0.6537 MB / 1.391 GB, free: 2.484 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.323, allocations: 8.625 kB / 1.391 GB, free: 2.477 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.324, allocations: 163.6 kB / 1.392 GB, free: 2.316 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.324, allocations: 325.8 kB / 1.392 GB, free: 1.961 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.324, allocations: 20.44 kB / 1.392 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/1.324, allocations: 24 kB / 1.392 GB, free: 1.918 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/1.325, allocations: 271.5 kB / 1.392 GB, free: 1.629 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.325, allocations: 3.938 kB / 1.392 GB, free: 1.625 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/1.325, allocations: 12 kB / 1.392 GB, free: 1.613 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.325, allocations: 4 kB / 1.392 GB, free: 1.609 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/1.325, allocations: 203.8 kB / 1.392 GB, free: 1.41 MB / 1.107 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.001444/1.327, allocations: 1.198 MB / 1.394 GB, free: 112 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/1.327, allocations: 130.4 kB / 1.394 GB, free: 15.97 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/1.327, allocations: 89.08 kB / 1.394 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/1.328, allocations: 307.2 kB / 1.394 GB, free: 15.53 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.328, allocations: 34.5 kB / 1.394 GB, free: 15.48 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/1.328, allocations: 0 / 1.394 GB, free: 15.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0007435/1.328, allocations: 280.7 kB / 1.394 GB, free: 15.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.328, allocations: 55.41 kB / 1.394 GB, free: 15.14 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/1.329, allocations: 324.4 kB / 1.395 GB, free: 14.82 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/1.329, allocations: 29.7 kB / 1.395 GB, free: 14.78 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.329, allocations: 180.3 kB / 1.395 GB, free: 14.6 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/1.329, allocations: 63.47 kB / 1.395 GB, free: 14.54 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/1.329, allocations: 45.7 kB / 1.395 GB, free: 14.49 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.329, allocations: 342.8 kB / 1.395 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.329, allocations: 63.95 kB / 1.395 GB, free: 14.08 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/1.33, allocations: 123.1 kB / 1.396 GB, free: 13.95 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/1.33, allocations: 186.8 kB / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.33, allocations: 0 / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004444/1.33, allocations: 248.9 kB / 1.396 GB, free: 13.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.33, allocations: 7.984 kB / 1.396 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.33, allocations: 3.938 kB / 1.396 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.33, allocations: 4 kB / 1.396 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/1.331, allocations: 39.92 kB / 1.396 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/1.331, allocations: 4 kB / 1.396 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/1.331, allocations: 31.77 kB / 1.396 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/1.331, allocations: 12 kB / 1.396 GB, free: 13.4 MB / 1.123 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.0001523/1.331, allocations: 165.7 kB / 1.396 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/1.331, allocations: 27.81 kB / 1.396 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/1.332, allocations: 212.3 kB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.332, allocations: 7.938 kB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.332, allocations: 0 / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.332, allocations: 0 / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/1.333, allocations: 0.6874 MB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.333, allocations: 4 kB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.333, allocations: 32.2 kB / 1.397 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/1.333, allocations: 11.92 kB / 1.397 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/1.333, allocations: 7.938 kB / 1.397 GB, free: 12.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.333, allocations: 4 kB / 1.397 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.333, allocations: 4 kB / 1.397 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/1.333, allocations: 425.2 kB / 1.398 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.334, allocations: 129 kB / 1.398 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/1.334, allocations: 11.94 kB / 1.398 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.334, allocations: 20.03 kB / 1.398 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/1.334, allocations: 11.98 kB / 1.398 GB, free: 11.51 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/1.334, allocations: 4 kB / 1.398 GB, free: 11.5 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002207/1.334, allocations: 227 kB / 1.398 GB, free: 11.28 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.334, allocations: 0 / 1.398 GB, free: 11.28 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004032/1.334, allocations: 83.89 kB / 1.398 GB, free: 11.2 MB / 1.123 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.0003933/1.335, allocations: 175 kB / 1.398 GB, free: 11.02 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004326/1.335, allocations: 159.8 kB / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.335, allocations: 0 / 1.398 GB, free: 10.87 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/1.335, allocations: 91.94 kB / 1.398 GB, free: 10.78 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/1.336, allocations: 167.5 kB / 1.399 GB, free: 10.62 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.337, allocations: 0.6125 MB / 1.399 GB, free: 9.957 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/1.338, allocations: 0.7834 MB / 1.4 GB, free: 9.148 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001857/1.338, allocations: 62.92 kB / 1.4 GB, free: 9.086 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/1.338, allocations: 27.44 kB / 1.4 GB, free: 9.059 MB / 1.123 GB Notification: Performance of SimCode: time 3e-07/1.338, allocations: 0 / 1.4 GB, free: 9.059 MB / 1.123 GB Notification: Performance of Templates: time 0.01083/1.349, allocations: 5.794 MB / 1.406 GB, free: 3.363 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches