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.00109/0.00109, allocations: 108 kB / 15.61 MB, free: 152 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.001157/0.001157, allocations: 197 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.676/2.676, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.84 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.732/0.7335, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01797/0.7515, allocations: 14.79 MB / 1.032 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.7567, allocations: 3.727 MB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.7573, allocations: 15.88 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.758, allocations: 178.7 kB / 1.036 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.7593, allocations: 390 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7603, allocations: 323.3 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008967/0.7612, allocations: 0.7725 MB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004476/0.7617, allocations: 290 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.7623, allocations: 374.5 kB / 1.038 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.7626, allocations: 226.9 kB / 1.038 GB, free: 13.42 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.7626, allocations: 20 kB / 1.038 GB, free: 13.4 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.7631, allocations: 231.5 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.7632, allocations: 75.73 kB / 1.038 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.7633, allocations: 139.3 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.7638, allocations: 418.7 kB / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7639, allocations: 0 / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7639, allocations: 0 / 1.039 GB, free: 12.55 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.7639, allocations: 0 / 1.039 GB, free: 12.55 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.0008055/0.7647, allocations: 0.6001 MB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.7647, allocations: 16.03 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.7648, allocations: 36.5 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.7652, allocations: 315 kB / 1.04 GB, free: 11.51 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.7652, allocations: 16.81 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.7652, allocations: 24.36 kB / 1.04 GB, free: 11.47 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.7657, allocations: 261.5 kB / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7657, allocations: 4 kB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.7658, allocations: 4 kB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.7658, allocations: 8 kB / 1.04 GB, free: 11.19 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.7662, allocations: 181.7 kB / 1.04 GB, free: 11.02 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.001165/0.7674, allocations: 0.8394 MB / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.7677, allocations: 141.1 kB / 1.041 GB, free: 9.953 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.7679, allocations: 93.59 kB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003819/0.7683, allocations: 498.6 kB / 1.042 GB, free: 9.258 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.7684, allocations: 30.56 kB / 1.042 GB, free: 9.219 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.7684, allocations: 4 kB / 1.042 GB, free: 9.215 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007437/0.7691, allocations: 265.3 kB / 1.042 GB, free: 8.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.7692, allocations: 81.11 kB / 1.042 GB, free: 8.852 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.7694, allocations: 263 kB / 1.042 GB, free: 8.59 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.7695, allocations: 33.7 kB / 1.042 GB, free: 8.551 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.7696, allocations: 160.2 kB / 1.042 GB, free: 8.391 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.7696, allocations: 51.33 kB / 1.042 GB, free: 8.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.7697, allocations: 33.7 kB / 1.042 GB, free: 8.301 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7698, allocations: 338.8 kB / 1.043 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.77, allocations: 63.88 kB / 1.043 GB, free: 7.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.7702, allocations: 117.9 kB / 1.043 GB, free: 7.762 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.7706, allocations: 176.1 kB / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7706, allocations: 0 / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004878/0.7711, allocations: 217.4 kB / 1.043 GB, free: 7.355 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7711, allocations: 8 kB / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7711, allocations: 0 / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7712, allocations: 64 / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.7714, allocations: 56.05 kB / 1.043 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.7715, allocations: 7.984 kB / 1.043 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.7716, allocations: 31.77 kB / 1.043 GB, free: 7.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.7717, allocations: 4 kB / 1.043 GB, free: 7.25 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.0001293/0.7718, allocations: 145.8 kB / 1.044 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.7719, allocations: 27.66 kB / 1.044 GB, free: 7.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.7722, allocations: 183.2 kB / 1.044 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7722, allocations: 7.984 kB / 1.044 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7722, allocations: 0 / 1.044 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7722, allocations: 0 / 1.044 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.7729, allocations: 0.5951 MB / 1.044 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7729, allocations: 8.125 kB / 1.044 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.7732, allocations: 51.94 kB / 1.044 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.7732, allocations: 4 kB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.7732, allocations: 0 / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7732, allocations: 7.938 kB / 1.044 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7732, allocations: 0 / 1.044 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.7738, allocations: 441.7 kB / 1.045 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.7739, allocations: 120.7 kB / 1.045 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.774, allocations: 11.94 kB / 1.045 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.7742, allocations: 15.98 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.7742, allocations: 19.92 kB / 1.045 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.7742, allocations: 7.984 kB / 1.045 GB, free: 5.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000156/0.7744, allocations: 194 kB / 1.045 GB, free: 5.297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7744, allocations: 3.938 kB / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004137/0.7748, allocations: 87.84 kB / 1.045 GB, free: 5.207 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.0004303/0.7753, allocations: 212.6 kB / 1.046 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.7758, allocations: 183.7 kB / 1.046 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7758, allocations: 4 kB / 1.046 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.7761, allocations: 104.1 kB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.7769, allocations: 127.6 kB / 1.046 GB, free: 4.594 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008273/0.7777, allocations: 0.5204 MB / 1.046 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.7781, allocations: 0.779 MB / 1.047 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000153/0.7782, allocations: 54.28 kB / 1.047 GB, free: 3.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.7783, allocations: 27.44 kB / 1.047 GB, free: 3.152 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.7783, allocations: 0 / 1.047 GB, free: 3.152 MB / 0.795 GB Notification: Performance of Templates: time 0.009593/0.7879, allocations: 5.217 MB / 1.052 GB, free: 14.01 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