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.001205/0.001205, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.00124/0.00124, allocations: 195.8 kB / 17.31 MB, free: 5.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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.55 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3227, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9192/1.242, allocations: 167.4 MB / 1.115 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003849/1.246, allocations: 1.545 MB / 1.116 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005569/1.246, allocations: 12.62 kB / 1.116 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006018/1.247, allocations: 149.6 kB / 1.116 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/1.25, allocations: 0.7054 MB / 1.117 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/1.252, allocations: 0.6109 MB / 1.118 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001384/1.253, allocations: 0.6985 MB / 1.118 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000463/1.254, allocations: 226.1 kB / 1.118 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007936/1.254, allocations: 333.7 kB / 1.119 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/1.255, allocations: 221 kB / 1.119 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/1.255, allocations: 22.47 kB / 1.119 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/1.257, allocations: 0.8653 MB / 1.12 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/1.257, allocations: 111.8 kB / 1.12 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/1.258, allocations: 169.4 kB / 1.12 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/1.259, allocations: 0.7175 MB / 1.121 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.259, allocations: 3.812 kB / 1.121 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/1.259, allocations: 0 / 1.121 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.259, allocations: 1.438 kB / 1.121 GB, free: 5.145 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.001326/1.261, allocations: 0.6414 MB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.261, allocations: 12.75 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.262, allocations: 159.3 kB / 1.122 GB, free: 20.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/1.263, allocations: 318.2 kB / 1.122 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/1.263, allocations: 17.7 kB / 1.122 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/1.263, allocations: 26.7 kB / 1.122 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/1.263, allocations: 274 kB / 1.122 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.263, allocations: 4.781 kB / 1.122 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/1.263, allocations: 9.344 kB / 1.122 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.263, allocations: 9.281 kB / 1.122 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/1.264, allocations: 197.4 kB / 1.122 GB, free: 20.32 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.001661/1.265, allocations: 1.216 MB / 1.124 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/1.266, allocations: 133.4 kB / 1.124 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/1.266, allocations: 91.97 kB / 1.124 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/1.266, allocations: 303.8 kB / 1.124 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.267, allocations: 38.67 kB / 1.124 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/1.267, allocations: 0 / 1.124 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008533/1.267, allocations: 284.1 kB / 1.124 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.267, allocations: 53.03 kB / 1.124 GB, free: 19.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/1.268, allocations: 315.9 kB / 1.125 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.268, allocations: 30.23 kB / 1.125 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/1.268, allocations: 178.7 kB / 1.125 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/1.268, allocations: 53.19 kB / 1.125 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/1.268, allocations: 46.83 kB / 1.125 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.268, allocations: 341.4 kB / 1.125 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.269, allocations: 65.89 kB / 1.125 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.269, allocations: 122.4 kB / 1.126 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/1.269, allocations: 190.7 kB / 1.126 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.269, allocations: 1.125 kB / 1.126 GB, free: 18.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005255/1.27, allocations: 245.1 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.27, allocations: 6.453 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.27, allocations: 1.656 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/1.27, allocations: 2.75 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/1.27, allocations: 40.94 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.27, allocations: 5.156 kB / 1.126 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/1.27, allocations: 30.39 kB / 1.126 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.27, allocations: 10.97 kB / 1.126 GB, free: 18.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.27, allocations: 157.8 kB / 1.126 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/1.271, allocations: 30.39 kB / 1.126 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/1.271, allocations: 215.6 kB / 1.126 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.271, allocations: 1.453 kB / 1.126 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.271, allocations: 5.297 kB / 1.126 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.271, allocations: 1.266 kB / 1.126 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/1.272, allocations: 0.6851 MB / 1.127 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.272, allocations: 2.312 kB / 1.127 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/1.273, allocations: 36.05 kB / 1.127 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.273, allocations: 5.25 kB / 1.127 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/1.273, allocations: 6.531 kB / 1.127 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.273, allocations: 5.719 kB / 1.127 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.273, allocations: 2.812 kB / 1.127 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/1.273, allocations: 433 kB / 1.128 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.273, allocations: 125.7 kB / 1.128 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/1.273, allocations: 10.56 kB / 1.128 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/1.274, allocations: 11.88 kB / 1.128 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.274, allocations: 14.47 kB / 1.128 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.274, allocations: 8.312 kB / 1.128 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002431/1.274, allocations: 229 kB / 1.128 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.274, allocations: 0 / 1.128 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004825/1.275, allocations: 79.58 kB / 1.128 GB, free: 17.27 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 (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.000468/1.275, allocations: 172.9 kB / 1.128 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004778/1.275, allocations: 166.1 kB / 1.128 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.275, allocations: 3.625 kB / 1.128 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/1.276, allocations: 89.75 kB / 1.128 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/1.277, allocations: 175.7 kB / 1.129 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.278, allocations: 0.594 MB / 1.129 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/1.278, allocations: 0.7798 MB / 1.13 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002222/1.278, allocations: 61.94 kB / 1.13 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/1.278, allocations: 27.69 kB / 1.13 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.625e-06/1.278, allocations: 0 / 1.13 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.0125/1.291, allocations: 5.73 MB / 1.136 GB, free: 15.72 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 -s cvode -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