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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009816/0.0009816, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 184.4 kB / 16.92 MB, free: 6.684 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 16 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6895, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1799/0.8694, allocations: 163 MB / 1.115 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.8723, allocations: 1.548 MB / 1.116 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.8727, allocations: 11.94 kB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.8732, allocations: 123.2 kB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.8749, allocations: 0.6575 MB / 1.117 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.8764, allocations: 0.5532 MB / 1.118 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.8775, allocations: 0.9703 MB / 1.119 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003859/0.8779, allocations: 193.4 kB / 1.119 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.8785, allocations: 310.7 kB / 1.119 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.8789, allocations: 223.1 kB / 1.119 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.879, allocations: 16 kB / 1.119 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.8805, allocations: 1.013 MB / 1.12 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.8807, allocations: 91.7 kB / 1.12 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.8809, allocations: 180.9 kB / 1.121 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.8816, allocations: 0.4911 MB / 1.121 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8817, allocations: 4 kB / 1.121 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8817, allocations: 4 kB / 1.121 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.8817, allocations: 0 / 1.121 GB, free: 5.473 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.001/0.8827, allocations: 0.5959 MB / 1.122 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.8827, allocations: 15.97 kB / 1.122 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.8839, allocations: 151.5 kB / 1.122 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.8844, allocations: 305.7 kB / 1.122 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.8844, allocations: 16.44 kB / 1.122 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.8845, allocations: 35.84 kB / 1.122 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.885, allocations: 275.5 kB / 1.122 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.885, allocations: 0 / 1.122 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.885, allocations: 12 kB / 1.122 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.8851, allocations: 8 kB / 1.122 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.8855, allocations: 203.8 kB / 1.123 GB, free: 3.762 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.001472/0.887, allocations: 1.221 MB / 1.124 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.8873, allocations: 142.5 kB / 1.124 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.8875, allocations: 100.8 kB / 1.124 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.8881, allocations: 311.2 kB / 1.124 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.8882, allocations: 42.44 kB / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.8882, allocations: 0 / 1.124 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0007959/0.889, allocations: 295.5 kB / 1.125 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.889, allocations: 55.41 kB / 1.125 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.8894, allocations: 312.5 kB / 1.125 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.8894, allocations: 29.7 kB / 1.125 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.8896, allocations: 184.1 kB / 1.125 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.8896, allocations: 59.2 kB / 1.125 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.8897, allocations: 17.72 kB / 1.125 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8898, allocations: 342.8 kB / 1.126 GB, free: 472 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.89, allocations: 71.95 kB / 1.126 GB, free: 400 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.8902, allocations: 135.8 kB / 1.126 GB, free: 248 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.8906, allocations: 197 kB / 1.126 GB, free: 32 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8906, allocations: 0 / 1.126 GB, free: 32 kB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005165/0.8911, allocations: 254.5 kB / 1.126 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8912, allocations: 4 kB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8912, allocations: 7.938 kB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.8912, allocations: 0 / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.8914, allocations: 47.92 kB / 1.126 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.8914, allocations: 7.984 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.8917, allocations: 43.73 kB / 1.126 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.8917, allocations: 4 kB / 1.126 GB, free: 15.66 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.0001444/0.8919, allocations: 153.7 kB / 1.127 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.8919, allocations: 27.62 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.8924, allocations: 232.3 kB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8924, allocations: 0 / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8924, allocations: 4 kB / 1.127 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8925, allocations: 3.938 kB / 1.127 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.8935, allocations: 0.6913 MB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.8936, allocations: 4.219 kB / 1.127 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.8937, allocations: 35.98 kB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.8937, allocations: 0 / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.8938, allocations: 11.94 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.8938, allocations: 8 kB / 1.127 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.8938, allocations: 3.938 kB / 1.128 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.8945, allocations: 450.8 kB / 1.128 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.8946, allocations: 124.6 kB / 1.128 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.8946, allocations: 11.88 kB / 1.128 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.8949, allocations: 19.98 kB / 1.128 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.8949, allocations: 16.05 kB / 1.128 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.8949, allocations: 8 kB / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002184/0.8951, allocations: 227 kB / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8952, allocations: 0 / 1.128 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003888/0.8955, allocations: 75.91 kB / 1.128 GB, free: 13.43 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.0003732/0.8959, allocations: 170 kB / 1.129 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.8964, allocations: 183.9 kB / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.8964, allocations: 4.188 kB / 1.129 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.8966, allocations: 91.83 kB / 1.129 GB, free: 13 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.8976, allocations: 159.9 kB / 1.129 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.8987, allocations: 0.7547 MB / 1.13 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8991, allocations: 0.7719 MB / 1.13 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.8992, allocations: 31.42 kB / 1.13 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/0.8992, allocations: 0 / 1.13 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of Templates: time 0.008014/0.9072, allocations: 4.763 MB / 1.135 GB, free: 6.492 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches