Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001315/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001387/0.001388, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.668/2.668, allocations: 437 MB / 0.71 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 55.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6684, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01512/0.6836, allocations: 14.72 MB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00443/0.6881, allocations: 3.697 MB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003539/0.6884, allocations: 11.94 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.689, allocations: 147.1 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000889/0.6899, allocations: 366.4 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008202/0.6907, allocations: 303 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.6915, allocations: 0.7881 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.6919, allocations: 278 kB / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006354/0.6926, allocations: 378.5 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.6928, allocations: 234.9 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.6928, allocations: 20 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.6933, allocations: 231.5 kB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.223e-05/0.6933, allocations: 67.77 kB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.6935, allocations: 151.2 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.694, allocations: 414.8 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.694, allocations: 0 / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.694, allocations: 0 / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.694, allocations: 4 kB / 1.038 GB, free: 12.88 MB / 0.795 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.0008359/0.6949, allocations: 0.6079 MB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6949, allocations: 11.97 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.695, allocations: 32.56 kB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.6954, allocations: 311 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6954, allocations: 16.81 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.6954, allocations: 24.38 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.696, allocations: 265.5 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.696, allocations: 0 / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.696, allocations: 8 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6961, allocations: 4 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.6965, allocations: 184.6 kB / 1.039 GB, free: 11.34 MB / 0.795 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.001137/0.6976, allocations: 0.8315 MB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6979, allocations: 133.2 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.6982, allocations: 97.58 kB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.6986, allocations: 0.4908 MB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6986, allocations: 34.56 kB / 1.041 GB, free: 9.543 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.6986, allocations: 0 / 1.041 GB, free: 9.543 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007283/0.6993, allocations: 265.6 kB / 1.041 GB, free: 9.277 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6994, allocations: 81.09 kB / 1.041 GB, free: 9.18 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.6996, allocations: 267 kB / 1.042 GB, free: 8.914 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.6997, allocations: 25.7 kB / 1.042 GB, free: 8.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6998, allocations: 180.2 kB / 1.042 GB, free: 8.703 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.6998, allocations: 43.39 kB / 1.042 GB, free: 8.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.6999, allocations: 33.7 kB / 1.042 GB, free: 8.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7, allocations: 338.8 kB / 1.042 GB, free: 8.281 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.7002, allocations: 59.94 kB / 1.042 GB, free: 8.223 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.7005, allocations: 114 kB / 1.042 GB, free: 8.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/0.7009, allocations: 172.1 kB / 1.042 GB, free: 7.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7009, allocations: 4 kB / 1.042 GB, free: 7.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004679/0.7014, allocations: 209.1 kB / 1.043 GB, free: 7.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7014, allocations: 4 kB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7014, allocations: 8.078 kB / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7014, allocations: 4 kB / 1.043 GB, free: 7.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.7017, allocations: 59.88 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7017, allocations: 3.938 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.7019, allocations: 31.81 kB / 1.043 GB, free: 7.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.702, allocations: 16 kB / 1.043 GB, free: 7.566 MB / 0.795 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.0001286/0.7021, allocations: 137.8 kB / 1.043 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.7022, allocations: 27.66 kB / 1.043 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.7025, allocations: 188.4 kB / 1.043 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.7025, allocations: 7.984 kB / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.7025, allocations: 0 / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7025, allocations: 7.984 kB / 1.043 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.7032, allocations: 0.599 MB / 1.044 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.7033, allocations: 0 / 1.044 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.7035, allocations: 47.94 kB / 1.044 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7035, allocations: 4 kB / 1.044 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.7035, allocations: 12.56 kB / 1.044 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7035, allocations: 0 / 1.044 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7035, allocations: 8 kB / 1.044 GB, free: 6.449 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.7041, allocations: 433.6 kB / 1.044 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7042, allocations: 124.7 kB / 1.044 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.7043, allocations: 7.984 kB / 1.044 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.7045, allocations: 19.89 kB / 1.044 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.7046, allocations: 23.92 kB / 1.044 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.7046, allocations: 12.08 kB / 1.044 GB, free: 5.793 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001702/0.7048, allocations: 197.8 kB / 1.045 GB, free: 5.598 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7048, allocations: 0 / 1.045 GB, free: 5.598 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004278/0.7052, allocations: 91.84 kB / 1.045 GB, free: 5.508 MB / 0.795 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.0004329/0.7057, allocations: 202.8 kB / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.7062, allocations: 187.9 kB / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7062, allocations: 0 / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.7065, allocations: 103.9 kB / 1.045 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.7073, allocations: 118.8 kB / 1.045 GB, free: 4.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.7082, allocations: 0.6184 MB / 1.046 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.7085, allocations: 0.7751 MB / 1.047 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.7086, allocations: 54.19 kB / 1.047 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.7087, allocations: 19.44 kB / 1.047 GB, free: 3.383 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.7087, allocations: 4 kB / 1.047 GB, free: 3.379 MB / 0.795 GB Notification: Performance of Templates: time 0.009455/0.7182, allocations: 5.083 MB / 1.052 GB, free: 14.37 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches