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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001163/0.001164, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.551/2.551, allocations: 390.2 MB / 0.6642 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8151/0.8165, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2078/1.024, allocations: 165.1 MB / 1.11 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002941/1.027, allocations: 1.568 MB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/1.028, allocations: 15.94 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/1.028, allocations: 115.2 kB / 1.112 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/1.03, allocations: 0.6575 MB / 1.112 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/1.031, allocations: 0.5526 MB / 1.113 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009068/1.032, allocations: 0.9819 MB / 1.114 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/1.033, allocations: 193.5 kB / 1.114 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005519/1.033, allocations: 306.7 kB / 1.114 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/1.033, allocations: 227.1 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/1.033, allocations: 16 kB / 1.115 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/1.035, allocations: 1.021 MB / 1.116 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.035, allocations: 95.7 kB / 1.116 GB, free: 6.637 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/1.035, allocations: 155.2 kB / 1.116 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009744/1.036, allocations: 0.7673 MB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.036, allocations: 7.938 kB / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.01e-07/1.036, allocations: 0 / 1.117 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.036, allocations: 0 / 1.117 GB, free: 5.707 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.0009174/1.037, allocations: 0.6466 MB / 1.117 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.037, allocations: 8.031 kB / 1.117 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.038, allocations: 155.3 kB / 1.117 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/1.039, allocations: 313.7 kB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.039, allocations: 12.44 kB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.039, allocations: 24 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004942/1.039, allocations: 283.4 kB / 1.118 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.039, allocations: 0 / 1.118 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/1.039, allocations: 8 kB / 1.118 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/1.039, allocations: 8 kB / 1.118 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/1.04, allocations: 191.8 kB / 1.118 GB, free: 3.965 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.001417/1.041, allocations: 1.209 MB / 1.119 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/1.042, allocations: 138.5 kB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/1.042, allocations: 92.73 kB / 1.12 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/1.042, allocations: 307.2 kB / 1.12 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/1.042, allocations: 42.5 kB / 1.12 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/1.042, allocations: 0 / 1.12 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0007355/1.043, allocations: 279.2 kB / 1.12 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.043, allocations: 51.41 kB / 1.12 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/1.044, allocations: 316.5 kB / 1.121 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.044, allocations: 29.7 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/1.044, allocations: 176.2 kB / 1.121 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/1.044, allocations: 59.19 kB / 1.121 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/1.044, allocations: 45.7 kB / 1.121 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.044, allocations: 338.8 kB / 1.121 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/1.044, allocations: 67.89 kB / 1.121 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/1.044, allocations: 122.3 kB / 1.121 GB, free: 500 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/1.045, allocations: 192.9 kB / 1.122 GB, free: 288 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.045, allocations: 0 / 1.122 GB, free: 288 kB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004277/1.045, allocations: 241.1 kB / 1.122 GB, free: 40 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.045, allocations: 5.875 kB / 1.122 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.045, allocations: 4 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/1.045, allocations: 0 / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.045, allocations: 39.97 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.045, allocations: 7.938 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/1.046, allocations: 31.86 kB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/1.046, allocations: 12.14 kB / 1.122 GB, free: 15.94 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.0001406/1.046, allocations: 153.7 kB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/1.046, allocations: 31.61 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/1.046, allocations: 222 kB / 1.122 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.046, allocations: 4 kB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.047, allocations: 0 / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.047, allocations: 4 kB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/1.047, allocations: 0.6873 MB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.048, allocations: 4 kB / 1.123 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/1.048, allocations: 31.98 kB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.048, allocations: 7.938 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.048, allocations: 4 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/1.048, allocations: 3.938 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.048, allocations: 4 kB / 1.123 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/1.048, allocations: 433.1 kB / 1.123 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.048, allocations: 124.8 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/1.049, allocations: 11.94 kB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.049, allocations: 15.89 kB / 1.124 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/1.049, allocations: 15.98 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/1.049, allocations: 4 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002127/1.049, allocations: 235 kB / 1.124 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.049, allocations: 0 / 1.124 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003636/1.049, allocations: 76 kB / 1.124 GB, free: 13.75 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.0003654/1.05, allocations: 171.5 kB / 1.124 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004154/1.05, allocations: 167.8 kB / 1.124 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.05, allocations: 4 kB / 1.124 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/1.05, allocations: 79.89 kB / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/1.051, allocations: 161.7 kB / 1.124 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009564/1.052, allocations: 0.6967 MB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/1.053, allocations: 0.7758 MB / 1.126 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002338/1.053, allocations: 58.94 kB / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/1.053, allocations: 27.44 kB / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/1.053, allocations: 0 / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.009924/1.063, allocations: 5.469 MB / 1.131 GB, free: 6.168 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