Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 99.03 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.00161/0.00161, allocations: 184.6 kB / 16.92 MB, free: 6.895 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.258 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.387/2.387, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 12.22 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.675, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.008146/0.6832, allocations: 9.682 MB / 0.9652 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.6862, allocations: 2.188 MB / 0.9673 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.6864, allocations: 7.688 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.6867, allocations: 81.45 kB / 0.9674 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.6874, allocations: 228.4 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.688, allocations: 212 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.6886, allocations: 0.5968 MB / 0.9684 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.6889, allocations: 111.4 kB / 0.9685 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.6893, allocations: 191.5 kB / 0.9687 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.6895, allocations: 121.1 kB / 0.9688 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.6895, allocations: 5.719 kB / 0.9688 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.6898, allocations: 144.9 kB / 0.9689 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.6899, allocations: 30.44 kB / 0.969 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.69, allocations: 89.62 kB / 0.969 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.6903, allocations: 179.6 kB / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6903, allocations: 0 / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6903, allocations: 0.875 kB / 0.9692 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6903, allocations: 4 kB / 0.9692 GB, free: 12.94 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005885/0.6909, allocations: 445.3 kB / 0.9696 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6909, allocations: 9.219 kB / 0.9696 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.691, allocations: 17.38 kB / 0.9697 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.6912, allocations: 245.2 kB / 0.9699 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.6913, allocations: 9.469 kB / 0.9699 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.6913, allocations: 7.438 kB / 0.9699 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.6917, allocations: 154.1 kB / 0.9701 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6917, allocations: 4 kB / 0.9701 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.6918, allocations: 5.594 kB / 0.9701 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6918, allocations: 1.969 kB / 0.9701 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.6921, allocations: 106.4 kB / 0.9702 GB, free: 12.08 MB / 0.7325 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.000791/0.6929, allocations: 0.539 MB / 0.9707 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.6931, allocations: 98.77 kB / 0.9708 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.6933, allocations: 65.03 kB / 0.9709 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.6936, allocations: 334.9 kB / 0.9712 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.6936, allocations: 44.44 kB / 0.9712 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.6937, allocations: 0 / 0.9712 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005788/0.6942, allocations: 172.3 kB / 0.9714 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.6943, allocations: 86.16 kB / 0.9715 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.6946, allocations: 188.1 kB / 0.9716 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.6946, allocations: 30.89 kB / 0.9717 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.6947, allocations: 119.1 kB / 0.9718 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.6948, allocations: 27.73 kB / 0.9718 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.6948, allocations: 15.69 kB / 0.9718 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.695, allocations: 321.8 kB / 0.9721 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.6951, allocations: 43.25 kB / 0.9722 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.6953, allocations: 75.64 kB / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.6956, allocations: 110.4 kB / 0.9724 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6956, allocations: 1 kB / 0.9724 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003375/0.696, allocations: 145.8 kB / 0.9725 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.696, allocations: 5 kB / 0.9725 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.696, allocations: 1 kB / 0.9725 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.696, allocations: 1.156 kB / 0.9725 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.6963, allocations: 53.14 kB / 0.9726 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6963, allocations: 1.031 kB / 0.9726 GB, free: 9.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.6965, allocations: 18.8 kB / 0.9726 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.6965, allocations: 3.594 kB / 0.9726 GB, free: 9.922 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0001365/0.6967, allocations: 127 kB / 0.9727 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.6967, allocations: 18.47 kB / 0.9727 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.697, allocations: 138.6 kB / 0.9728 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.697, allocations: 1.906 kB / 0.9728 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.697, allocations: 0.9688 kB / 0.9728 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.697, allocations: 0.9688 kB / 0.9728 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.6977, allocations: 464.7 kB / 0.9733 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6977, allocations: 1.969 kB / 0.9733 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.6979, allocations: 52.92 kB / 0.9733 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.698, allocations: 2.281 kB / 0.9733 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.698, allocations: 6 kB / 0.9734 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.698, allocations: 5.969 kB / 0.9734 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.698, allocations: 4.969 kB / 0.9734 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.6985, allocations: 363.3 kB / 0.9737 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.6986, allocations: 104.8 kB / 0.9738 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.6986, allocations: 2.125 kB / 0.9738 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.6988, allocations: 11.11 kB / 0.9738 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.6988, allocations: 17.02 kB / 0.9738 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6988, allocations: 4.125 kB / 0.9738 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001417/0.699, allocations: 139.6 kB / 0.974 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.699, allocations: 1 kB / 0.974 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004402/0.6994, allocations: 51.41 kB / 0.974 GB, free: 8.672 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004572/0.6999, allocations: 187 kB / 0.9742 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.7003, allocations: 108.5 kB / 0.9743 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7003, allocations: 0 / 0.9743 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.7005, allocations: 71.14 kB / 0.9744 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.7012, allocations: 76.19 kB / 0.9744 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.7019, allocations: 429.8 kB / 0.9749 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.7022, allocations: 0.7252 MB / 0.9756 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.7022, allocations: 16.78 kB / 0.9756 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7022, allocations: 0 / 0.9756 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.005271/0.7075, allocations: 2.828 MB / 0.9783 GB, free: 5.895 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches