Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_11_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.001757/0.001757, allocations: 105.1 kB / 15.99 MB, free: 5.891 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.001957/0.001957, allocations: 188.5 kB / 16.91 MB, free: 5.746 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7427 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.73 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2769, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01735/0.2943, allocations: 14.71 MB / 1.079 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004814/0.2991, allocations: 3.697 MB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.2995, allocations: 15.88 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.3, allocations: 135.1 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008393/0.3008, allocations: 370.3 kB / 1.083 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007989/0.3016, allocations: 295.5 kB / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000843/0.3025, allocations: 0.7765 MB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.3029, allocations: 288.2 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.3036, allocations: 386.4 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3039, allocations: 234.9 kB / 1.085 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.3039, allocations: 20 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.3043, allocations: 231.5 kB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.3044, allocations: 71.75 kB / 1.085 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.3046, allocations: 139.3 kB / 1.085 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.305, allocations: 303.4 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.305, allocations: 0 / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.136e-06/0.305, allocations: 4 kB / 1.085 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.305, allocations: 3.938 kB / 1.085 GB, free: 8.922 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.000898/0.3059, allocations: 0.604 MB / 1.086 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.306, allocations: 8.031 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.306, allocations: 36.56 kB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3064, allocations: 311 kB / 1.086 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3065, allocations: 20.81 kB / 1.086 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3065, allocations: 24.38 kB / 1.086 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.3071, allocations: 253.5 kB / 1.086 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3071, allocations: 7.922 kB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.3071, allocations: 8 kB / 1.086 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3071, allocations: 4 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.3076, allocations: 188.5 kB / 1.087 GB, free: 7.379 MB / 0.8419 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.001217/0.3089, allocations: 0.8315 MB / 1.087 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.3092, allocations: 129.2 kB / 1.088 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.3094, allocations: 97.58 kB / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.3098, allocations: 0.4988 MB / 1.088 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3099, allocations: 38.44 kB / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.3099, allocations: 4 kB / 1.088 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007655/0.3107, allocations: 257.4 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.3107, allocations: 81.05 kB / 1.089 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.311, allocations: 267 kB / 1.089 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3111, allocations: 33.7 kB / 1.089 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3112, allocations: 168.2 kB / 1.089 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3112, allocations: 43.45 kB / 1.089 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.3113, allocations: 33.7 kB / 1.089 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3115, allocations: 330.8 kB / 1.089 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3117, allocations: 59.94 kB / 1.089 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3119, allocations: 120.1 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.3124, allocations: 176.4 kB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3124, allocations: 4 kB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004985/0.3129, allocations: 213.1 kB / 1.09 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3129, allocations: 8.094 kB / 1.09 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3129, allocations: 4.078 kB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3129, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3132, allocations: 51.94 kB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.3132, allocations: 7.922 kB / 1.09 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3134, allocations: 43.72 kB / 1.09 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.3135, allocations: 8 kB / 1.09 GB, free: 3.602 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001463/0.3136, allocations: 141.8 kB / 1.09 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.3137, allocations: 27.66 kB / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.314, allocations: 183.2 kB / 1.09 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3141, allocations: 0 / 1.09 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3141, allocations: 0 / 1.09 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3141, allocations: 4 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.3149, allocations: 0.599 MB / 1.091 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3149, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3152, allocations: 51.89 kB / 1.091 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3152, allocations: 8.219 kB / 1.091 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3152, allocations: 7.938 kB / 1.091 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3152, allocations: 3.984 kB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/0.3152, allocations: 4 kB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.3159, allocations: 441.6 kB / 1.091 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.316, allocations: 124.7 kB / 1.092 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.316, allocations: 0 / 1.092 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3163, allocations: 32.03 kB / 1.092 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3163, allocations: 15.92 kB / 1.092 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.3164, allocations: 12 kB / 1.092 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001874/0.3165, allocations: 197.9 kB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3166, allocations: 0 / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004378/0.317, allocations: 87.84 kB / 1.092 GB, free: 1.555 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0004549/0.3175, allocations: 211 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.318, allocations: 179.9 kB / 1.092 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.318, allocations: 0 / 1.092 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.3183, allocations: 107.9 kB / 1.092 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/0.3191, allocations: 114.5 kB / 1.093 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.3201, allocations: 0.642 MB / 1.093 GB, free: 280 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.3206, allocations: 0.7753 MB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.3207, allocations: 23.44 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3207, allocations: 0 / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.007778/0.3285, allocations: 4.566 MB / 1.098 GB, free: 10.91 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches