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.001473/0.001473, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 198.4 kB / 16.14 MB, free: 6.648 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.685/2.685, allocations: 437 MB / 0.7099 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 67.89 kB / 0.8685 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8812/0.8823, allocations: 151.6 MB / 1.017 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01799/0.9004, allocations: 14.74 MB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.9055, allocations: 3.72 MB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.906, allocations: 7.938 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.9067, allocations: 147 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.9078, allocations: 378.3 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.9088, allocations: 311 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.9099, allocations: 1.081 MB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004615/0.9104, allocations: 253.9 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007851/0.9112, allocations: 346.5 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.9115, allocations: 234.8 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.9116, allocations: 12 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005872/0.9122, allocations: 211.5 kB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.9123, allocations: 67.75 kB / 1.038 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.9125, allocations: 135.3 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.9131, allocations: 418.7 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9131, allocations: 0 / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9131, allocations: 0 / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.9131, allocations: 0 / 1.038 GB, free: 12.9 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.0009282/0.9141, allocations: 0.5963 MB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.9141, allocations: 8.031 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.705e-05/0.9142, allocations: 40.56 kB / 1.039 GB, free: 12.21 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.9146, allocations: 322.9 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.9146, allocations: 12.81 kB / 1.039 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.9147, allocations: 24.38 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.9153, allocations: 257.5 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9153, allocations: 0 / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.9154, allocations: 8 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9154, allocations: 8 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.9159, allocations: 186.1 kB / 1.039 GB, free: 11.36 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.001339/0.9172, allocations: 0.8276 MB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.9176, allocations: 137.1 kB / 1.04 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.9178, allocations: 97.59 kB / 1.041 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.9182, allocations: 498.6 kB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.9183, allocations: 38.56 kB / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.9183, allocations: 0 / 1.041 GB, free: 9.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.000794/0.9191, allocations: 257.3 kB / 1.041 GB, free: 9.312 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.9191, allocations: 85.11 kB / 1.041 GB, free: 9.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.9194, allocations: 267 kB / 1.042 GB, free: 8.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.9194, allocations: 29.7 kB / 1.042 GB, free: 8.91 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.9196, allocations: 168.2 kB / 1.042 GB, free: 8.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.9196, allocations: 43.39 kB / 1.042 GB, free: 8.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.9197, allocations: 33.7 kB / 1.042 GB, free: 8.66 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.9199, allocations: 334.8 kB / 1.042 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.9201, allocations: 68.12 kB / 1.042 GB, free: 8.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.9204, allocations: 114 kB / 1.042 GB, free: 8.125 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.9208, allocations: 176.1 kB / 1.043 GB, free: 7.938 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9208, allocations: 0 / 1.043 GB, free: 7.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005089/0.9213, allocations: 217.1 kB / 1.043 GB, free: 7.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.9213, allocations: 8 kB / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9213, allocations: 0 / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.9214, allocations: 0 / 1.043 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.9217, allocations: 59.88 kB / 1.043 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.9217, allocations: 4 kB / 1.043 GB, free: 7.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.9219, allocations: 31.91 kB / 1.043 GB, free: 7.617 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.9219, allocations: 15.94 kB / 1.043 GB, free: 7.602 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.0001484/0.9221, allocations: 141.8 kB / 1.043 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.9222, allocations: 27.66 kB / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.9225, allocations: 186.9 kB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9225, allocations: 4 kB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9225, allocations: 4 kB / 1.043 GB, free: 7.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9225, allocations: 4.031 kB / 1.043 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007951/0.9233, allocations: 0.599 MB / 1.044 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9234, allocations: 0 / 1.044 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.9237, allocations: 52.08 kB / 1.044 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.9237, allocations: 0 / 1.044 GB, free: 6.508 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.9237, allocations: 11.94 kB / 1.044 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9237, allocations: 3.984 kB / 1.044 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.9237, allocations: 4 kB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.9244, allocations: 441.6 kB / 1.044 GB, free: 6.027 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.9245, allocations: 124.6 kB / 1.044 GB, free: 5.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.9246, allocations: 8.125 kB / 1.044 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.9248, allocations: 23.97 kB / 1.044 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.9249, allocations: 19.92 kB / 1.044 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.9249, allocations: 8 kB / 1.044 GB, free: 5.828 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001732/0.9251, allocations: 193.9 kB / 1.045 GB, free: 5.637 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9251, allocations: 0 / 1.045 GB, free: 5.637 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004583/0.9255, allocations: 91.84 kB / 1.045 GB, free: 5.547 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.00044/0.926, allocations: 200.9 kB / 1.045 GB, free: 5.348 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.9265, allocations: 179.7 kB / 1.045 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9265, allocations: 0 / 1.045 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.9268, allocations: 103.9 kB / 1.045 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/0.9277, allocations: 120.2 kB / 1.045 GB, free: 4.957 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.9286, allocations: 0.6095 MB / 1.046 GB, free: 4.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.929, allocations: 0.7716 MB / 1.047 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.9292, allocations: 54.2 kB / 1.047 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.9292, allocations: 23.42 kB / 1.047 GB, free: 3.434 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/0.9292, allocations: 0 / 1.047 GB, free: 3.434 MB / 0.795 GB Notification: Performance of Templates: time 0.01026/0.9395, allocations: 4.93 MB / 1.052 GB, free: 14.58 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