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.001046/0.001046, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00128/0.00128, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.438 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.668/2.668, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004587, allocations: 12 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7706, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1837/0.9543, allocations: 152 MB / 1.103 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.957, allocations: 1.483 MB / 1.104 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.9573, allocations: 11.94 kB / 1.104 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.9577, allocations: 107.2 kB / 1.104 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.959, allocations: 0.5015 MB / 1.105 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.9603, allocations: 453.7 kB / 1.105 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000937/0.9612, allocations: 0.8337 MB / 1.106 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.9616, allocations: 177.2 kB / 1.106 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.9621, allocations: 302.8 kB / 1.107 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.9624, allocations: 219.1 kB / 1.107 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.9625, allocations: 16 kB / 1.107 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.9635, allocations: 458.9 kB / 1.107 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.9637, allocations: 95.69 kB / 1.107 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.9638, allocations: 89.52 kB / 1.108 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.9643, allocations: 431 kB / 1.108 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9644, allocations: 4 kB / 1.108 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9644, allocations: 3.938 kB / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.9644, allocations: 0 / 1.108 GB, free: 1.938 MB / 0.8575 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.0009332/0.9653, allocations: 0.5961 MB / 1.109 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.9654, allocations: 8.031 kB / 1.109 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.9665, allocations: 159.4 kB / 1.109 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.9669, allocations: 301.8 kB / 1.109 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.967, allocations: 20.38 kB / 1.109 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.967, allocations: 24 kB / 1.109 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.9675, allocations: 279.5 kB / 1.109 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9675, allocations: 3.953 kB / 1.109 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.9675, allocations: 12 kB / 1.109 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.9676, allocations: 4 kB / 1.109 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.968, allocations: 203.8 kB / 1.109 GB, free: 244 kB / 0.8575 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.001447/0.9694, allocations: 1.217 MB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.9697, allocations: 146.4 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.9699, allocations: 96.8 kB / 1.111 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.9705, allocations: 315.2 kB / 1.111 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.9705, allocations: 34.56 kB / 1.111 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.9705, allocations: 0 / 1.111 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0007443/0.9713, allocations: 300.1 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9713, allocations: 63.36 kB / 1.112 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.9717, allocations: 312.5 kB / 1.112 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.9717, allocations: 25.7 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.9718, allocations: 184.1 kB / 1.112 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.9719, allocations: 51.3 kB / 1.112 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.9719, allocations: 4 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9721, allocations: 338.8 kB / 1.112 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.9722, allocations: 71.95 kB / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.9724, allocations: 125.1 kB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.9726, allocations: 79.97 kB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9727, allocations: 0 / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004598/0.9731, allocations: 254.8 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.9731, allocations: 4 kB / 1.113 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9732, allocations: 7.922 kB / 1.113 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.9732, allocations: 4 kB / 1.113 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.9734, allocations: 39.98 kB / 1.113 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9734, allocations: 0 / 1.113 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.9736, allocations: 47.69 kB / 1.113 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.9736, allocations: 11.98 kB / 1.113 GB, free: 12.32 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.9738, allocations: 145.8 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.9738, allocations: 31.62 kB / 1.113 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/0.9743, allocations: 236.2 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.9743, allocations: 4 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9743, allocations: 0 / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.9744, allocations: 0 / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.9754, allocations: 0.6913 MB / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.9754, allocations: 0 / 1.114 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.9755, allocations: 48.12 kB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9756, allocations: 7.953 kB / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.9756, allocations: 0 / 1.114 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.9756, allocations: 4 kB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9756, allocations: 4 kB / 1.114 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.9762, allocations: 448.9 kB / 1.115 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.9764, allocations: 120.8 kB / 1.115 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.9764, allocations: 11.95 kB / 1.115 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.9766, allocations: 19.97 kB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.9767, allocations: 24.03 kB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.9767, allocations: 4 kB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002117/0.9769, allocations: 223 kB / 1.115 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.493e-06/0.9769, allocations: 0 / 1.115 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003883/0.9773, allocations: 87.83 kB / 1.115 GB, free: 10.08 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003747/0.9777, allocations: 167 kB / 1.115 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.9782, allocations: 183.8 kB / 1.115 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9782, allocations: 192 / 1.115 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.9784, allocations: 91.83 kB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.9792, allocations: 167.8 kB / 1.116 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.9802, allocations: 0.7083 MB / 1.116 GB, free: 8.734 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.9806, allocations: 0.7797 MB / 1.117 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.9808, allocations: 54.94 kB / 1.117 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.9809, allocations: 27.44 kB / 1.117 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.9809, allocations: 4 kB / 1.117 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.01016/0.9911, allocations: 5.271 MB / 1.122 GB, free: 2.664 MB / 0.8731 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