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.001397/0.001397, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001281/0.001281, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.559/2.559, allocations: 437.1 MB / 0.711 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.94 kB / 0.8699 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.681/1.023, allocations: 167.4 MB / 1.181 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00297/1.026, allocations: 1.54 MB / 1.183 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/1.026, allocations: 11.09 kB / 1.183 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005293/1.027, allocations: 155.8 kB / 1.183 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/1.029, allocations: 0.7005 MB / 1.184 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/1.03, allocations: 0.5997 MB / 1.184 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008135/1.031, allocations: 0.7096 MB / 1.185 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004231/1.031, allocations: 229.3 kB / 1.185 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/1.032, allocations: 323.3 kB / 1.186 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/1.032, allocations: 224.5 kB / 1.186 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/1.032, allocations: 22.09 kB / 1.186 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/1.034, allocations: 0.8623 MB / 1.187 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/1.034, allocations: 110.5 kB / 1.187 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/1.034, allocations: 174 kB / 1.187 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/1.035, allocations: 0.708 MB / 1.188 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/1.035, allocations: 1.188 kB / 1.188 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/1.035, allocations: 0 / 1.188 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.035, allocations: 3.938 kB / 1.188 GB, free: 3.5 MB / 0.8887 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.001065/1.037, allocations: 0.6448 MB / 1.188 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.037, allocations: 10.81 kB / 1.188 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.038, allocations: 160.1 kB / 1.188 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/1.038, allocations: 310.3 kB / 1.189 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.038, allocations: 16.5 kB / 1.189 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/1.038, allocations: 19.47 kB / 1.189 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/1.039, allocations: 275.5 kB / 1.189 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.039, allocations: 7.938 kB / 1.189 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/1.039, allocations: 10.53 kB / 1.189 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.039, allocations: 5.094 kB / 1.189 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/1.039, allocations: 201.2 kB / 1.189 GB, free: 2.246 MB / 0.8887 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.001485/1.041, allocations: 1.217 MB / 1.19 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/1.041, allocations: 133.1 kB / 1.191 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.041, allocations: 87.3 kB / 1.191 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/1.042, allocations: 304.5 kB / 1.191 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/1.042, allocations: 38.5 kB / 1.191 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/1.042, allocations: 0 / 1.191 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.000764/1.043, allocations: 281.1 kB / 1.191 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.043, allocations: 53.91 kB / 1.191 GB, free: 452 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/1.043, allocations: 316.1 kB / 1.192 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/1.043, allocations: 29.7 kB / 1.192 GB, free: 204 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/1.043, allocations: 182.1 kB / 1.192 GB, free: 36 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/1.043, allocations: 56.84 kB / 1.192 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/1.044, allocations: 43.7 kB / 1.192 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.044, allocations: 346.5 kB / 1.192 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.044, allocations: 62.42 kB / 1.192 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/1.044, allocations: 121.5 kB / 1.192 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/1.045, allocations: 190.7 kB / 1.193 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.045, allocations: 0 / 1.193 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004718/1.045, allocations: 244.4 kB / 1.193 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.045, allocations: 17.36 kB / 1.193 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.045, allocations: 1.344 kB / 1.193 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.045, allocations: 7.469 kB / 1.193 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.045, allocations: 36.33 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.045, allocations: 2.062 kB / 1.193 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.046, allocations: 35.45 kB / 1.193 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/1.046, allocations: 7.75 kB / 1.193 GB, free: 15.19 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.0001654/1.046, allocations: 155.8 kB / 1.193 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/1.046, allocations: 27.5 kB / 1.193 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/1.046, allocations: 224.2 kB / 1.193 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/1.046, allocations: 2.875 kB / 1.193 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.046, allocations: 3.938 kB / 1.193 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.046, allocations: 0 / 1.193 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/1.047, allocations: 0.6812 MB / 1.194 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.047, allocations: 1.312 kB / 1.194 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.048, allocations: 36.89 kB / 1.194 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.048, allocations: 6.875 kB / 1.194 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/1.048, allocations: 10.73 kB / 1.194 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.048, allocations: 2.75 kB / 1.194 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.048, allocations: 2.656 kB / 1.194 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/1.048, allocations: 427.3 kB / 1.194 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.049, allocations: 127.4 kB / 1.195 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/1.049, allocations: 12.38 kB / 1.195 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/1.049, allocations: 12.83 kB / 1.195 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/1.049, allocations: 13.95 kB / 1.195 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.049, allocations: 5.719 kB / 1.195 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002412/1.049, allocations: 226.7 kB / 1.195 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/1.049, allocations: 0 / 1.195 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004134/1.05, allocations: 70.47 kB / 1.195 GB, free: 13.67 MB / 0.9044 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.0003879/1.05, allocations: 172.9 kB / 1.195 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000459/1.05, allocations: 175.9 kB / 1.195 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.05, allocations: 3.938 kB / 1.195 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/1.051, allocations: 95.47 kB / 1.195 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/1.052, allocations: 169.3 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/1.053, allocations: 0.644 MB / 1.196 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/1.053, allocations: 0.7787 MB / 1.197 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/1.053, allocations: 27.62 kB / 1.197 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/1.053, allocations: 0 / 1.197 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.008215/1.061, allocations: 4.797 MB / 1.202 GB, free: 9.645 MB / 0.9044 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=400 -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