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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001194/0.001193, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001213/0.001213, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.665 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 66.91 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01307/0.2811, allocations: 10.11 MB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.2843, allocations: 2.207 MB / 0.9618 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.2846, allocations: 7.938 kB / 0.9618 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.2851, allocations: 83.5 kB / 0.9619 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0007274/0.2858, allocations: 238.9 kB / 0.9621 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.2865, allocations: 207.5 kB / 0.9623 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.2871, allocations: 439.5 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.2874, allocations: 132.4 kB / 0.9629 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.2878, allocations: 211.2 kB / 0.9631 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2881, allocations: 123.4 kB / 0.9632 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.2881, allocations: 8 kB / 0.9632 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.2885, allocations: 167.7 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.2885, allocations: 31.91 kB / 0.9634 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2886, allocations: 71.61 kB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.289, allocations: 175.6 kB / 0.9636 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.289, allocations: 0 / 0.9636 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.512e-06/0.289, allocations: 8 kB / 0.9636 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.289, allocations: 0 / 0.9636 GB, free: 10.96 MB / 0.7481 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.0006799/0.2897, allocations: 474.7 kB / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2897, allocations: 8.031 kB / 0.9641 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.2898, allocations: 24.69 kB / 0.9641 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.2901, allocations: 240 kB / 0.9643 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2901, allocations: 4.375 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.2901, allocations: 12.38 kB / 0.9643 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.2905, allocations: 153.4 kB / 0.9645 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2905, allocations: 0 / 0.9645 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2905, allocations: 4 kB / 0.9645 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2905, allocations: 4 kB / 0.9645 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2908, allocations: 87.92 kB / 0.9646 GB, free: 9.879 MB / 0.7481 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.0007995/0.2916, allocations: 0.5394 MB / 0.9651 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.2918, allocations: 97.11 kB / 0.9652 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.292, allocations: 65.72 kB / 0.9653 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.2923, allocations: 328.4 kB / 0.9656 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2923, allocations: 42.5 kB / 0.9656 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2923, allocations: 0 / 0.9656 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0005144/0.2928, allocations: 161.6 kB / 0.9658 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2929, allocations: 77.11 kB / 0.9658 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.2931, allocations: 182.6 kB / 0.966 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2932, allocations: 29.7 kB / 0.966 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.2932, allocations: 123.9 kB / 0.9662 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.2933, allocations: 23.72 kB / 0.9662 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.2933, allocations: 33.83 kB / 0.9662 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2935, allocations: 326.8 kB / 0.9665 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2936, allocations: 36.03 kB / 0.9666 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2938, allocations: 71.33 kB / 0.9666 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.2941, allocations: 98.52 kB / 0.9667 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2941, allocations: 0 / 0.9667 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003603/0.2944, allocations: 125.4 kB / 0.9668 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2945, allocations: 8 kB / 0.9669 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2945, allocations: 0 / 0.9669 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2945, allocations: 4.062 kB / 0.9669 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.2947, allocations: 39.89 kB / 0.9669 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2947, allocations: 0 / 0.9669 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.2949, allocations: 19.83 kB / 0.9669 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2949, allocations: 8.156 kB / 0.9669 GB, free: 7.23 MB / 0.7481 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.0001133/0.295, allocations: 125.8 kB / 0.967 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.2951, allocations: 23.73 kB / 0.9671 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.2953, allocations: 130.5 kB / 0.9672 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2953, allocations: 4 kB / 0.9672 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2953, allocations: 0 / 0.9672 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2953, allocations: 0 / 0.9672 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.296, allocations: 480.7 kB / 0.9677 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.296, allocations: 4 kB / 0.9677 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.2962, allocations: 35.95 kB / 0.9677 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2962, allocations: 0 / 0.9677 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2962, allocations: 4 kB / 0.9677 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2962, allocations: 80 / 0.9677 GB, free: 6.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2962, allocations: 7.922 kB / 0.9677 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.2967, allocations: 349 kB / 0.968 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2968, allocations: 100.9 kB / 0.9681 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.2968, allocations: 8 kB / 0.9681 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.297, allocations: 11.98 kB / 0.9682 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.297, allocations: 15.86 kB / 0.9682 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2971, allocations: 8 kB / 0.9682 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001515/0.2972, allocations: 140.5 kB / 0.9683 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2972, allocations: 0 / 0.9683 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003693/0.2976, allocations: 51.94 kB / 0.9684 GB, free: 5.633 MB / 0.7481 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.000403/0.298, allocations: 176.8 kB / 0.9685 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.2983, allocations: 107.9 kB / 0.9686 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2984, allocations: 0 / 0.9686 GB, free: 5.352 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.2985, allocations: 59.89 kB / 0.9687 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.2992, allocations: 77.95 kB / 0.9688 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.2999, allocations: 423.2 kB / 0.9692 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3002, allocations: 0.728 MB / 0.9699 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.3003, allocations: 15.44 kB / 0.9699 GB, free: 4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.3003, allocations: 0 / 0.9699 GB, free: 4 MB / 0.7481 GB Notification: Performance of Templates: time 0.00667/0.307, allocations: 2.835 MB / 0.9727 GB, free: 1.184 MB / 0.7481 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