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.00175/0.00175, allocations: 110.5 kB / 16.41 MB, free: 6.508 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.001766/0.001766, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.584/1.584, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.689/2.689, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002333, allocations: 71.88 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9656/0.9679, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2122/1.18, allocations: 167.4 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003103/1.183, allocations: 1.555 MB / 1.332 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/1.184, allocations: 11.94 kB / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/1.184, allocations: 162.8 kB / 1.332 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/1.186, allocations: 0.7274 MB / 1.333 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/1.188, allocations: 0.6064 MB / 1.334 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001238/1.189, allocations: 0.7051 MB / 1.334 GB, free: 8.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/1.19, allocations: 236.8 kB / 1.335 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007032/1.191, allocations: 334.8 kB / 1.335 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/1.191, allocations: 227.1 kB / 1.335 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/1.191, allocations: 24 kB / 1.335 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/1.193, allocations: 0.8806 MB / 1.336 GB, free: 6.352 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/1.193, allocations: 95.72 kB / 1.336 GB, free: 6.258 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003848/1.193, allocations: 175.1 kB / 1.336 GB, free: 6.086 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/1.194, allocations: 0.7133 MB / 1.337 GB, free: 5.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.194, allocations: 0 / 1.337 GB, free: 5.375 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/1.195, allocations: 0 / 1.337 GB, free: 5.375 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.195, allocations: 3.938 kB / 1.337 GB, free: 5.371 MB / 1.061 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.0013/1.196, allocations: 0.6615 MB / 1.338 GB, free: 4.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.196, allocations: 12.03 kB / 1.338 GB, free: 4.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/1.197, allocations: 159.6 kB / 1.338 GB, free: 4.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/1.198, allocations: 325.8 kB / 1.338 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.198, allocations: 16.44 kB / 1.338 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/1.198, allocations: 20 kB / 1.338 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/1.198, allocations: 283.3 kB / 1.338 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.198, allocations: 7.984 kB / 1.338 GB, free: 3.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/1.198, allocations: 8 kB / 1.338 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/1.198, allocations: 8 kB / 1.338 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/1.199, allocations: 195.8 kB / 1.339 GB, free: 3.586 MB / 1.061 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.002013/1.201, allocations: 1.206 MB / 1.34 GB, free: 2.277 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/1.201, allocations: 130.5 kB / 1.34 GB, free: 2.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/1.202, allocations: 97.08 kB / 1.34 GB, free: 2.043 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/1.202, allocations: 299.2 kB / 1.34 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.202, allocations: 50.48 kB / 1.34 GB, free: 1.637 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.202, allocations: 0 / 1.34 GB, free: 1.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007973/1.203, allocations: 275.8 kB / 1.341 GB, free: 1.363 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/1.203, allocations: 55.39 kB / 1.341 GB, free: 1.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/1.204, allocations: 312.5 kB / 1.341 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.204, allocations: 29.7 kB / 1.341 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/1.204, allocations: 188.3 kB / 1.341 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/1.204, allocations: 63.47 kB / 1.341 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/1.204, allocations: 41.7 kB / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003043/1.204, allocations: 342.8 kB / 1.342 GB, free: 312 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/1.204, allocations: 63.95 kB / 1.342 GB, free: 248 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/1.205, allocations: 126.5 kB / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/1.205, allocations: 194.9 kB / 1.342 GB, free: 15.89 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.205, allocations: 7.984 kB / 1.342 GB, free: 15.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005299/1.206, allocations: 237.3 kB / 1.342 GB, free: 15.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.206, allocations: 8 kB / 1.342 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.206, allocations: 0 / 1.342 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/1.206, allocations: 4 kB / 1.342 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/1.206, allocations: 39.92 kB / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/1.206, allocations: 0 / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/1.206, allocations: 39.86 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/1.206, allocations: 8 kB / 1.342 GB, free: 15.55 MB / 1.076 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.0001862/1.206, allocations: 157.7 kB / 1.343 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/1.206, allocations: 31.81 kB / 1.343 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/1.207, allocations: 212.3 kB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.207, allocations: 0 / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.207, allocations: 3.938 kB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.207, allocations: 4 kB / 1.343 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/1.208, allocations: 0.6913 MB / 1.343 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.208, allocations: 0 / 1.343 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/1.208, allocations: 35.91 kB / 1.343 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.208, allocations: 7.938 kB / 1.343 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.208, allocations: 4 kB / 1.343 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.208, allocations: 4 kB / 1.343 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.208, allocations: 4 kB / 1.343 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/1.209, allocations: 429.4 kB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/1.209, allocations: 128.8 kB / 1.344 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/1.209, allocations: 7.938 kB / 1.344 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/1.21, allocations: 11.98 kB / 1.344 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/1.21, allocations: 15.92 kB / 1.344 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.21, allocations: 11.94 kB / 1.344 GB, free: 13.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002517/1.21, allocations: 227 kB / 1.344 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/1.21, allocations: 4.062 kB / 1.344 GB, free: 13.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004029/1.21, allocations: 75.94 kB / 1.344 GB, free: 13.36 MB / 1.076 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.0005387/1.211, allocations: 172.8 kB / 1.345 GB, free: 13.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005123/1.211, allocations: 177 kB / 1.345 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.211, allocations: 0 / 1.345 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.212, allocations: 87.88 kB / 1.345 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/1.213, allocations: 171 kB / 1.345 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/1.214, allocations: 0.6093 MB / 1.346 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/1.214, allocations: 0.7795 MB / 1.346 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001893/1.214, allocations: 66.92 kB / 1.346 GB, free: 11.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/1.215, allocations: 23.44 kB / 1.346 GB, free: 11.22 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.215, allocations: 4 kB / 1.346 GB, free: 11.21 MB / 1.076 GB Notification: Performance of Templates: time 0.01252/1.227, allocations: 5.787 MB / 1.352 GB, free: 5.531 MB / 1.076 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 -s cvode -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