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.001545/0.001545, allocations: 116.3 kB / 16.42 MB, free: 6.504 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.00179/0.00179, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.19 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.462/2.462, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7913, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1743/0.9656, allocations: 167.4 MB / 1.331 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.9683, allocations: 1.557 MB / 1.332 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.9688, allocations: 15.88 kB / 1.332 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.9693, allocations: 150.9 kB / 1.332 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.9712, allocations: 0.7313 MB / 1.333 GB, free: 9.359 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.9727, allocations: 0.6101 MB / 1.334 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008749/0.9736, allocations: 0.7051 MB / 1.334 GB, free: 8.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.974, allocations: 240.8 kB / 1.335 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006775/0.9747, allocations: 342.8 kB / 1.335 GB, free: 7.469 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.975, allocations: 219 kB / 1.335 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.9751, allocations: 24 kB / 1.335 GB, free: 7.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.9766, allocations: 0.8729 MB / 1.336 GB, free: 6.355 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.9768, allocations: 107.6 kB / 1.336 GB, free: 6.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.977, allocations: 167.2 kB / 1.336 GB, free: 6.086 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.9782, allocations: 0.7172 MB / 1.337 GB, free: 5.371 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9782, allocations: 0 / 1.337 GB, free: 5.371 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9782, allocations: 0 / 1.337 GB, free: 5.371 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.9782, allocations: 4 kB / 1.337 GB, free: 5.367 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.0009573/0.9792, allocations: 0.6537 MB / 1.338 GB, free: 4.664 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.9792, allocations: 8.031 kB / 1.338 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.9804, allocations: 159.6 kB / 1.338 GB, free: 4.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.9809, allocations: 325.8 kB / 1.338 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.981, allocations: 24.38 kB / 1.338 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.981, allocations: 27.94 kB / 1.338 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.9815, allocations: 275.4 kB / 1.338 GB, free: 3.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.9815, allocations: 4 kB / 1.338 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.9815, allocations: 8 kB / 1.338 GB, free: 3.793 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.9815, allocations: 8 kB / 1.338 GB, free: 3.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.982, allocations: 199.8 kB / 1.339 GB, free: 3.59 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.001356/0.9833, allocations: 1.202 MB / 1.34 GB, free: 2.285 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.9836, allocations: 138.5 kB / 1.34 GB, free: 2.141 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.9838, allocations: 85.09 kB / 1.34 GB, free: 2.055 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.9843, allocations: 311.2 kB / 1.34 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.9844, allocations: 42.44 kB / 1.34 GB, free: 1.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.9844, allocations: 3.984 kB / 1.34 GB, free: 1.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007511/0.9851, allocations: 271.8 kB / 1.341 GB, free: 1.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.9852, allocations: 55.41 kB / 1.341 GB, free: 1.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.9855, allocations: 324.5 kB / 1.341 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.9855, allocations: 29.64 kB / 1.341 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9856, allocations: 180.4 kB / 1.341 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.9857, allocations: 63.47 kB / 1.341 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.9858, allocations: 41.7 kB / 1.341 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9859, allocations: 338.8 kB / 1.342 GB, free: 320 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.986, allocations: 67.95 kB / 1.342 GB, free: 252 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.9863, allocations: 126.7 kB / 1.342 GB, free: 108 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.9866, allocations: 194.4 kB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9866, allocations: 0 / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004488/0.9871, allocations: 238.7 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.9871, allocations: 4 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.9871, allocations: 4 kB / 1.342 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.9871, allocations: 0 / 1.342 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.9873, allocations: 52 kB / 1.342 GB, free: 15.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.9874, allocations: 8 kB / 1.342 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.9876, allocations: 27.77 kB / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.9876, allocations: 12 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.0001322/0.9877, allocations: 153.7 kB / 1.342 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.9878, allocations: 27.81 kB / 1.343 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.9883, allocations: 220.3 kB / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9883, allocations: 0 / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9883, allocations: 0 / 1.343 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.9884, allocations: 120.9 kB / 1.343 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.9884, allocations: 4 kB / 1.343 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.9886, allocations: 11.92 kB / 1.343 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.9887, allocations: 7.984 kB / 1.343 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004854/0.9891, allocations: 276.8 kB / 1.343 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000612/0.9898, allocations: 465 kB / 1.344 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001604/0.9899, allocations: 71.97 kB / 1.344 GB, free: 14.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001985/0.9901, allocations: 227 kB / 1.344 GB, free: 13.95 MB / 1.076 GB Notification: Performance of Backend: time 3.91e-07/0.9902, allocations: 4.062 kB / 1.344 GB, free: 13.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.9913, allocations: 387.2 kB / 1.344 GB, free: 13.57 MB / 1.076 GB Notification: Performance of SimCode: time 0.001369/0.9927, allocations: 1.122 MB / 1.345 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Templates: time 0.01311/1.006, allocations: 7.917 MB / 1.353 GB, free: 4.566 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 -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