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.001452/0.001452, allocations: 107.6 kB / 16.38 MB, free: 6.488 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.001602/0.001602, allocations: 189.3 kB / 17.31 MB, free: 5.82 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 65.34 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6609/0.9666, allocations: 167.4 MB / 1.19 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.9697, allocations: 1.544 MB / 1.192 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.9701, allocations: 15.59 kB / 1.192 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.9707, allocations: 154.2 kB / 1.192 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.9724, allocations: 0.7013 MB / 1.193 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.9741, allocations: 0.6059 MB / 1.193 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.9751, allocations: 0.6986 MB / 1.194 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004647/0.9756, allocations: 231.7 kB / 1.194 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007687/0.9763, allocations: 343.2 kB / 1.194 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.9768, allocations: 215.7 kB / 1.195 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.9768, allocations: 23.31 kB / 1.195 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.9788, allocations: 0.8667 MB / 1.195 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.979, allocations: 110 kB / 1.196 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.9792, allocations: 166.5 kB / 1.196 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.9806, allocations: 0.7114 MB / 1.196 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9806, allocations: 1.375 kB / 1.196 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9807, allocations: 3.938 kB / 1.196 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.9807, allocations: 0 / 1.196 GB, free: 9.23 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.001078/0.9818, allocations: 0.6527 MB / 1.197 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9818, allocations: 9.219 kB / 1.197 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.983, allocations: 159.1 kB / 1.197 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.9836, allocations: 317.4 kB / 1.198 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.9836, allocations: 20.31 kB / 1.198 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.9837, allocations: 19.06 kB / 1.198 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.9842, allocations: 279.4 kB / 1.198 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.9842, allocations: 3.938 kB / 1.198 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.9843, allocations: 10.78 kB / 1.198 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.9843, allocations: 5.719 kB / 1.198 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.9847, allocations: 196.9 kB / 1.198 GB, free: 7.969 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.001462/0.9862, allocations: 1.205 MB / 1.199 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.9866, allocations: 138 kB / 1.199 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.9868, allocations: 92.11 kB / 1.199 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006615/0.9875, allocations: 303.9 kB / 1.2 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.9875, allocations: 42.5 kB / 1.2 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.9876, allocations: 0 / 1.2 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0007704/0.9883, allocations: 278 kB / 1.2 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.9884, allocations: 54.09 kB / 1.2 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.9887, allocations: 319.7 kB / 1.2 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.9887, allocations: 31.98 kB / 1.2 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.9889, allocations: 179 kB / 1.201 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.9889, allocations: 54.95 kB / 1.201 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.989, allocations: 43.58 kB / 1.201 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9892, allocations: 338.3 kB / 1.201 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.9893, allocations: 60.27 kB / 1.201 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.9895, allocations: 131.8 kB / 1.201 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.9899, allocations: 195.8 kB / 1.201 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.9899, allocations: 0.5625 kB / 1.201 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004797/0.9904, allocations: 247.1 kB / 1.202 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.9904, allocations: 5.156 kB / 1.202 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9904, allocations: 3.938 kB / 1.202 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.9905, allocations: 2.562 kB / 1.202 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.9907, allocations: 45.75 kB / 1.202 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.9907, allocations: 8 kB / 1.202 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.9909, allocations: 31.33 kB / 1.202 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.991, allocations: 8.5 kB / 1.202 GB, free: 4.906 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.00015/0.9911, allocations: 156.5 kB / 1.202 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.9912, allocations: 24.84 kB / 1.202 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.9917, allocations: 225.3 kB / 1.202 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9917, allocations: 4 kB / 1.202 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.9917, allocations: 3.984 kB / 1.202 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.9919, allocations: 114 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.9919, allocations: 2.406 kB / 1.202 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.9921, allocations: 10.52 kB / 1.202 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.9922, allocations: 14.42 kB / 1.202 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004972/0.9927, allocations: 274.8 kB / 1.202 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006086/0.9933, allocations: 459.9 kB / 1.203 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001576/0.9935, allocations: 69.86 kB / 1.203 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002057/0.9937, allocations: 228.8 kB / 1.203 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of Backend: time 1.693e-06/0.9937, allocations: 4.062 kB / 1.203 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.9949, allocations: 378.2 kB / 1.204 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001575/0.9965, allocations: 1.113 MB / 1.205 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.01305/1.01, allocations: 7.871 MB / 1.212 GB, free: 14.68 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 -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