Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001476/0.001476, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001539/0.00154, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.7107 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.91 kB / 0.8694 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.6925, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1843/0.8769, allocations: 165.1 MB / 1.179 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.88, allocations: 1.54 MB / 1.18 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.8807, allocations: 7.938 kB / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.8813, allocations: 131.2 kB / 1.18 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.8834, allocations: 0.6614 MB / 1.181 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.8852, allocations: 0.557 MB / 1.182 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.8863, allocations: 0.705 MB / 1.182 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.8868, allocations: 229 kB / 1.182 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008079/0.8876, allocations: 338.7 kB / 1.183 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.8881, allocations: 235.1 kB / 1.183 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.8881, allocations: 28 kB / 1.183 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.8898, allocations: 0.8961 MB / 1.184 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.89, allocations: 107.6 kB / 1.184 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.8902, allocations: 163.2 kB / 1.184 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.8912, allocations: 0.5029 MB / 1.185 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.8913, allocations: 0 / 1.185 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8913, allocations: 0 / 1.185 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.8913, allocations: 4 kB / 1.185 GB, free: 6.898 MB / 0.9356 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.001255/0.8926, allocations: 0.6427 MB / 1.185 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.8926, allocations: 11.97 kB / 1.185 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.8939, allocations: 151.4 kB / 1.185 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.8944, allocations: 313.7 kB / 1.186 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.8944, allocations: 12.44 kB / 1.186 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.8945, allocations: 24 kB / 1.186 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.895, allocations: 283.4 kB / 1.186 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.895, allocations: 0 / 1.186 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.895, allocations: 4 kB / 1.186 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.8951, allocations: 8 kB / 1.186 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.8955, allocations: 203.7 kB / 1.186 GB, free: 5.156 MB / 0.9356 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.001574/0.8971, allocations: 1.213 MB / 1.187 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.8974, allocations: 130.5 kB / 1.188 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.8976, allocations: 92.8 kB / 1.188 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/0.8983, allocations: 299.2 kB / 1.188 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.8983, allocations: 38.5 kB / 1.188 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.8983, allocations: 0 / 1.188 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0008045/0.8991, allocations: 285.4 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.8992, allocations: 51.41 kB / 1.188 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.8995, allocations: 316.5 kB / 1.189 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.8996, allocations: 29.7 kB / 1.189 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.8997, allocations: 184.1 kB / 1.189 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.8998, allocations: 55.19 kB / 1.189 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.8999, allocations: 45.7 kB / 1.189 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9, allocations: 338.8 kB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.9002, allocations: 71.94 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.9004, allocations: 122.2 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.9008, allocations: 194.9 kB / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9008, allocations: 0 / 1.19 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004918/0.9013, allocations: 241.1 kB / 1.19 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9013, allocations: 4 kB / 1.19 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9014, allocations: 4 kB / 1.19 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.9014, allocations: 0 / 1.19 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.9016, allocations: 43.97 kB / 1.19 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.9016, allocations: 7.938 kB / 1.19 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.9018, allocations: 35.67 kB / 1.19 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.9019, allocations: 12.06 kB / 1.19 GB, free: 1.117 MB / 0.9356 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.0001784/0.9021, allocations: 157.7 kB / 1.19 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.9021, allocations: 23.86 kB / 1.19 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.9026, allocations: 228.3 kB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.9026, allocations: 4 kB / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9027, allocations: 0 / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9027, allocations: 0 / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.9038, allocations: 0.6836 MB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9038, allocations: 4 kB / 1.191 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.904, allocations: 35.91 kB / 1.191 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.904, allocations: 7.938 kB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.904, allocations: 4 kB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.904, allocations: 4 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.904, allocations: 4 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.9047, allocations: 430.7 kB / 1.191 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9049, allocations: 128.7 kB / 1.192 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.9049, allocations: 7.938 kB / 1.192 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.9052, allocations: 15.98 kB / 1.192 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.9053, allocations: 19.92 kB / 1.192 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.9054, allocations: 4 kB / 1.192 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003154/0.9057, allocations: 231.1 kB / 1.192 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9057, allocations: 0 / 1.192 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000469/0.9062, allocations: 76 kB / 1.192 GB, free: 14.93 MB / 0.9512 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.0004511/0.9066, allocations: 176.1 kB / 1.192 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.9071, allocations: 179.8 kB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9071, allocations: 0 / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.9073, allocations: 83.83 kB / 1.192 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.9082, allocations: 169.8 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.9094, allocations: 0.7162 MB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.9098, allocations: 0.7794 MB / 1.194 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.995e-05/0.9098, allocations: 27.44 kB / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9099, allocations: 0 / 1.194 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.008389/0.9182, allocations: 4.798 MB / 1.199 GB, free: 7.996 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches