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.001412/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00171/0.00171, allocations: 190 kB / 16.14 MB, free: 6.719 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.308/2.308, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6665/0.6677, allocations: 140.4 MB / 0.9489 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009589/0.6773, allocations: 10.12 MB / 0.9588 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.6801, allocations: 2.226 MB / 0.961 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.6803, allocations: 9.625 kB / 0.961 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.6808, allocations: 77.34 kB / 0.961 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.6813, allocations: 232.1 kB / 0.9613 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.6819, allocations: 208.7 kB / 0.9615 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.6826, allocations: 0.5964 MB / 0.9621 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.6829, allocations: 115.3 kB / 0.9622 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.6834, allocations: 197.7 kB / 0.9624 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.6836, allocations: 117.4 kB / 0.9625 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.6836, allocations: 6.5 kB / 0.9625 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004102/0.684, allocations: 149.1 kB / 0.9626 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.6841, allocations: 38.59 kB / 0.9626 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.6842, allocations: 73.41 kB / 0.9627 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.6846, allocations: 238.1 kB / 0.9629 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6846, allocations: 1.188 kB / 0.9629 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6846, allocations: 0 / 0.9629 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.6846, allocations: 0 / 0.9629 GB, free: 13.97 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.0006261/0.6853, allocations: 480.5 kB / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6853, allocations: 9.031 kB / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.6854, allocations: 17.84 kB / 0.9634 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.6856, allocations: 241.3 kB / 0.9637 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6857, allocations: 5 kB / 0.9637 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.6857, allocations: 12.59 kB / 0.9637 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.686, allocations: 148.7 kB / 0.9638 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.686, allocations: 1.094 kB / 0.9638 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.6861, allocations: 5.062 kB / 0.9638 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6861, allocations: 2.219 kB / 0.9638 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.6864, allocations: 92.3 kB / 0.9639 GB, free: 13.09 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.0007833/0.6872, allocations: 0.5457 MB / 0.9644 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.6874, allocations: 94.48 kB / 0.9645 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.6875, allocations: 64.11 kB / 0.9646 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.6878, allocations: 331.1 kB / 0.9649 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.6878, allocations: 43.61 kB / 0.965 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6878, allocations: 0 / 0.965 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004763/0.6883, allocations: 157.7 kB / 0.9651 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6884, allocations: 78.39 kB / 0.9652 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6885, allocations: 183.7 kB / 0.9654 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6886, allocations: 26.89 kB / 0.9654 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.6886, allocations: 124.7 kB / 0.9655 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.6887, allocations: 22.09 kB / 0.9655 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.6887, allocations: 30.83 kB / 0.9656 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6889, allocations: 330.6 kB / 0.9659 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.689, allocations: 34.5 kB / 0.9659 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.6891, allocations: 69.02 kB / 0.966 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.6894, allocations: 102.1 kB / 0.9661 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6894, allocations: 0 / 0.9661 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002847/0.6897, allocations: 128.6 kB / 0.9662 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6897, allocations: 6.906 kB / 0.9662 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6897, allocations: 1.188 kB / 0.9662 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6897, allocations: 1.281 kB / 0.9662 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.6899, allocations: 44.11 kB / 0.9662 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.6899, allocations: 0 / 0.9662 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.6901, allocations: 15.92 kB / 0.9663 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6901, allocations: 7.781 kB / 0.9663 GB, free: 10.93 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.0001179/0.6902, allocations: 127 kB / 0.9664 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.6903, allocations: 18.88 kB / 0.9664 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.6906, allocations: 138.9 kB / 0.9665 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6906, allocations: 2.656 kB / 0.9665 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6906, allocations: 0 / 0.9665 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6906, allocations: 0 / 0.9665 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.6911, allocations: 473.8 kB / 0.967 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6912, allocations: 1.344 kB / 0.967 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.6913, allocations: 39.39 kB / 0.967 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6914, allocations: 2.125 kB / 0.967 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6914, allocations: 6.156 kB / 0.967 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.6914, allocations: 2.25 kB / 0.967 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.6914, allocations: 5.188 kB / 0.967 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.6918, allocations: 349.1 kB / 0.9674 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.6919, allocations: 109 kB / 0.9675 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.6919, allocations: 6.188 kB / 0.9675 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.6921, allocations: 9.453 kB / 0.9675 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.6921, allocations: 19.92 kB / 0.9675 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6921, allocations: 4.469 kB / 0.9675 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001095/0.6922, allocations: 139.8 kB / 0.9676 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6922, allocations: 0 / 0.9676 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003794/0.6926, allocations: 48.31 kB / 0.9677 GB, free: 9.68 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.0003908/0.693, allocations: 175.1 kB / 0.9679 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.6934, allocations: 101.8 kB / 0.968 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6934, allocations: 0 / 0.968 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6935, allocations: 67.2 kB / 0.968 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.6942, allocations: 61.97 kB / 0.9681 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.6948, allocations: 389.2 kB / 0.9685 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6951, allocations: 0.7355 MB / 0.9692 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.6952, allocations: 34.08 kB / 0.9692 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.6952, allocations: 15.94 kB / 0.9692 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6952, allocations: 4.094 kB / 0.9692 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.00639/0.7016, allocations: 3.116 MB / 0.9723 GB, free: 6.805 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches