Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0009874/0.0009875, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00807/0.00807, allocations: 171 kB / 16.26 MB, free: 6.613 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005952/0.0005952, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7487, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.205/0.9538, allocations: 163 MB / 1.114 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.9569, allocations: 1.555 MB / 1.116 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003392/0.9573, allocations: 7.938 kB / 1.116 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.9578, allocations: 115.2 kB / 1.116 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.9598, allocations: 0.6692 MB / 1.116 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.9612, allocations: 0.5444 MB / 1.117 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.9624, allocations: 0.9742 MB / 1.118 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.9628, allocations: 193.4 kB / 1.118 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007056/0.9635, allocations: 310.8 kB / 1.118 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.9639, allocations: 231 kB / 1.119 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.9639, allocations: 12 kB / 1.119 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.9658, allocations: 1.005 MB / 1.12 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.9659, allocations: 99.69 kB / 1.12 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.9661, allocations: 176.9 kB / 1.12 GB, free: 5.914 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.9674, allocations: 0.7672 MB / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9674, allocations: 0 / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9674, allocations: 0 / 1.121 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.9674, allocations: 4 kB / 1.121 GB, free: 5.141 MB / 0.8731 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.0009998/0.9684, allocations: 0.5922 MB / 1.121 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9685, allocations: 8.031 kB / 1.121 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.9697, allocations: 155.4 kB / 1.121 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.9701, allocations: 313.5 kB / 1.122 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.9701, allocations: 20.44 kB / 1.122 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.9702, allocations: 19.91 kB / 1.122 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.9707, allocations: 283.5 kB / 1.122 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9708, allocations: 11.94 kB / 1.122 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.9708, allocations: 11.98 kB / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.9708, allocations: 8 kB / 1.122 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.9713, allocations: 199.8 kB / 1.122 GB, free: 3.43 MB / 0.8731 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.001476/0.9727, allocations: 1.213 MB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.973, allocations: 146.5 kB / 1.124 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.9732, allocations: 96.8 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000664/0.9739, allocations: 311.2 kB / 1.124 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.974, allocations: 42.5 kB / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.974, allocations: 0 / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008153/0.9748, allocations: 300.3 kB / 1.124 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.9748, allocations: 55.41 kB / 1.124 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.9752, allocations: 316.5 kB / 1.125 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.9752, allocations: 33.7 kB / 1.125 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.9753, allocations: 180.1 kB / 1.125 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.9754, allocations: 63.17 kB / 1.125 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.9754, allocations: 17.72 kB / 1.125 GB, free: 480 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9755, allocations: 338.8 kB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.9757, allocations: 71.94 kB / 1.125 GB, free: 60 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.976, allocations: 130.9 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.9764, allocations: 195 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9764, allocations: 4 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004878/0.9769, allocations: 245.2 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9769, allocations: 8 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9769, allocations: 0 / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9769, allocations: 4 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.9771, allocations: 43.91 kB / 1.126 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.9771, allocations: 4 kB / 1.126 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.9774, allocations: 43.77 kB / 1.126 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.9774, allocations: 12 kB / 1.126 GB, free: 15.34 MB / 0.8887 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.0001428/0.9776, allocations: 157.6 kB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.9776, allocations: 31.62 kB / 1.126 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.9781, allocations: 224.3 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.9782, allocations: 7.938 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.9782, allocations: 0 / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9782, allocations: 0 / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.9792, allocations: 0.6915 MB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9792, allocations: 3.938 kB / 1.127 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.9794, allocations: 39.97 kB / 1.127 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.9794, allocations: 4 kB / 1.127 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.9795, allocations: 11.88 kB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.9795, allocations: 4 kB / 1.127 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.9795, allocations: 4 kB / 1.127 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.9802, allocations: 445.9 kB / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.9803, allocations: 128.7 kB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.9804, allocations: 3.938 kB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.9806, allocations: 24.05 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.9806, allocations: 11.98 kB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.9807, allocations: 4 kB / 1.128 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002235/0.9809, allocations: 227 kB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9809, allocations: 0 / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004137/0.9813, allocations: 83.91 kB / 1.128 GB, free: 13.11 MB / 0.8887 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.0003784/0.9817, allocations: 176.9 kB / 1.128 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.9822, allocations: 185.4 kB / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9822, allocations: 0 / 1.128 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.9824, allocations: 91.83 kB / 1.128 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.9834, allocations: 163.4 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.9845, allocations: 0.7218 MB / 1.129 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.9849, allocations: 0.7758 MB / 1.13 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.9851, allocations: 71.14 kB / 1.13 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.9852, allocations: 27.38 kB / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/0.9852, allocations: 0 / 1.13 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of Templates: time 0.01068/0.9959, allocations: 5.431 MB / 1.135 GB, free: 5.504 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches