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.007725/0.007725, allocations: 100 kB / 15.73 MB, free: 6.469 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.001798/0.001798, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.352 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60.06 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1797/0.4936, allocations: 167.4 MB / 1.251 GB, free: 9.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.4966, allocations: 1.543 MB / 1.253 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.497, allocations: 15.88 kB / 1.253 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.4975, allocations: 158.8 kB / 1.253 GB, free: 7.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.4993, allocations: 0.6961 MB / 1.254 GB, free: 7.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.5008, allocations: 0.6035 MB / 1.254 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.5016, allocations: 0.7051 MB / 1.255 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.502, allocations: 225.1 kB / 1.255 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.5026, allocations: 334.7 kB / 1.256 GB, free: 5.211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.5029, allocations: 219.1 kB / 1.256 GB, free: 4.996 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.5029, allocations: 23.94 kB / 1.256 GB, free: 4.973 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5042, allocations: 0.8767 MB / 1.257 GB, free: 4.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5044, allocations: 103.7 kB / 1.257 GB, free: 3.992 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.5045, allocations: 163.3 kB / 1.257 GB, free: 3.832 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.5054, allocations: 0.7207 MB / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.5054, allocations: 0 / 1.258 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5055, allocations: 3.938 kB / 1.258 GB, free: 3.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.5055, allocations: 0 / 1.258 GB, free: 3.105 MB / 1.014 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.0009606/0.5064, allocations: 0.6544 MB / 1.258 GB, free: 2.402 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5065, allocations: 8.031 kB / 1.258 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.5076, allocations: 155.4 kB / 1.258 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.5081, allocations: 317.7 kB / 1.259 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.5082, allocations: 20.44 kB / 1.259 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.5082, allocations: 27.98 kB / 1.259 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.5087, allocations: 271.5 kB / 1.259 GB, free: 1.559 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5087, allocations: 3.938 kB / 1.259 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.5088, allocations: 16 kB / 1.259 GB, free: 1.539 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5088, allocations: 4 kB / 1.259 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.5092, allocations: 203.7 kB / 1.259 GB, free: 1.336 MB / 1.014 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.001351/0.5105, allocations: 1.201 MB / 1.26 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6359/1.146, allocations: 131.9 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/1.147, allocations: 95.33 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/1.147, allocations: 299.1 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/1.147, allocations: 40.23 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/1.147, allocations: 3.562 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008219/1.148, allocations: 278 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/1.148, allocations: 53.89 kB / 1.261 GB, free: 176.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/1.148, allocations: 314.5 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/1.149, allocations: 29.89 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.149, allocations: 182.9 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/1.149, allocations: 61.2 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/1.149, allocations: 44.17 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/1.149, allocations: 342.2 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/1.149, allocations: 65.31 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/1.149, allocations: 123.5 kB / 1.262 GB, free: 175.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/1.15, allocations: 186.7 kB / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.15, allocations: 0 / 1.263 GB, free: 175.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004538/1.15, allocations: 235.3 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.15, allocations: 9.781 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.15, allocations: 1.812 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.15, allocations: 2.344 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/1.15, allocations: 46.61 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.15, allocations: 6.781 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/1.151, allocations: 32.62 kB / 1.263 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/1.151, allocations: 8.109 kB / 1.263 GB, free: 175.5 MB / 1.014 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.000126/1.151, allocations: 154.4 kB / 1.263 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/1.151, allocations: 32.44 kB / 1.263 GB, free: 175.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/1.151, allocations: 220.7 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/1.151, allocations: 4.922 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.151, allocations: 3.938 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.151, allocations: 4.953 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/1.153, allocations: 0.6851 MB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.153, allocations: 1.812 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.153, allocations: 31.92 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.153, allocations: 3.281 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/1.153, allocations: 6.719 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.153, allocations: 3.281 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.153, allocations: 6.188 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/1.153, allocations: 436.1 kB / 1.264 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/1.154, allocations: 122.8 kB / 1.265 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/1.154, allocations: 6.734 kB / 1.265 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/1.154, allocations: 10.44 kB / 1.265 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/1.154, allocations: 22.88 kB / 1.265 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/1.154, allocations: 9.5 kB / 1.265 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002402/1.154, allocations: 225.2 kB / 1.265 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.154, allocations: 0 / 1.265 GB, free: 174.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004442/1.155, allocations: 82.98 kB / 1.265 GB, free: 174.5 MB / 1.014 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.0004582/1.155, allocations: 168.7 kB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004742/1.155, allocations: 172.6 kB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.156, allocations: 0.8438 kB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/1.156, allocations: 86.73 kB / 1.265 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/1.157, allocations: 162.3 kB / 1.265 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.158, allocations: 0.5949 MB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.158, allocations: 0.7813 MB / 1.267 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002068/1.158, allocations: 63.83 kB / 1.267 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/1.158, allocations: 24.69 kB / 1.267 GB, free: 173.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.158, allocations: 4 kB / 1.267 GB, free: 173.3 MB / 1.014 GB Notification: Performance of Templates: time 0.01385/1.172, allocations: 5.871 MB / 1.273 GB, free: 172.9 MB / 1.014 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