Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 79.03 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 168 kB / 22.46 MB, free: 5.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.911/2.911, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.834e-05, allocations: 10.22 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02093/0.02097, allocations: 13.71 MB / 1.014 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005907/0.02687, allocations: 3.464 MB / 1.017 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.02766, allocations: 15.88 kB / 1.017 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.02861, allocations: 174.6 kB / 1.017 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.03026, allocations: 425.6 kB / 1.017 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.0316, allocations: 349.6 kB / 1.018 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.03289, allocations: 0.7372 MB / 1.019 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.03343, allocations: 207.8 kB / 1.019 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.03487, allocations: 0.5525 MB / 1.019 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.03533, allocations: 187.4 kB / 1.019 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.0354, allocations: 20 kB / 1.019 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.03603, allocations: 195.5 kB / 1.02 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.0362, allocations: 75.73 kB / 1.02 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.0364, allocations: 99.75 kB / 1.02 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.03739, allocations: 426.7 kB / 1.02 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.03739, allocations: 0 / 1.02 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.173e-06/0.0374, allocations: 3.938 kB / 1.02 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.03741, allocations: 0 / 1.02 GB, free: 2.602 MB / 0.9669 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.001084/0.03849, allocations: 0.5322 MB / 1.021 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.03854, allocations: 8.031 kB / 1.021 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.03865, allocations: 40.75 kB / 1.021 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.03926, allocations: 261.1 kB / 1.021 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.03929, allocations: 16.88 kB / 1.021 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.03934, allocations: 32.38 kB / 1.021 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.04, allocations: 302.2 kB / 1.021 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.04001, allocations: 192 / 1.021 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.04005, allocations: 16.11 kB / 1.021 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.04006, allocations: 8 kB / 1.021 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.04059, allocations: 184.4 kB / 1.022 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.04191, allocations: 0.631 MB / 1.022 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.04227, allocations: 137.1 kB / 1.022 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.04252, allocations: 85.66 kB / 1.022 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.04272, allocations: 43.91 kB / 1.022 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.04277, allocations: 38.56 kB / 1.022 GB, free: 148 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.04277, allocations: 0 / 1.022 GB, free: 148 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0009293/0.0437, allocations: 265.4 kB / 1.023 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.04376, allocations: 81.11 kB / 1.023 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.044, allocations: 209.8 kB / 1.023 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.04404, allocations: 25.7 kB / 1.023 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.04419, allocations: 172.3 kB / 1.023 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.04424, allocations: 43.64 kB / 1.023 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.04432, allocations: 37.7 kB / 1.023 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.0445, allocations: 326.8 kB / 1.024 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.04472, allocations: 59.94 kB / 1.024 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.04511, allocations: 280.1 kB / 1.024 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.04558, allocations: 176.1 kB / 1.024 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.04559, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005807/0.04617, allocations: 205.3 kB / 1.024 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.04619, allocations: 8 kB / 1.024 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.04619, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.04622, allocations: 8.312 kB / 1.024 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.04654, allocations: 56.03 kB / 1.024 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.04655, allocations: 4.312 kB / 1.024 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.04675, allocations: 31.86 kB / 1.024 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.04678, allocations: 11.98 kB / 1.024 GB, free: 14.04 MB / 0.9825 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.0001767/0.04696, allocations: 142.3 kB / 1.025 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.04704, allocations: 19.91 kB / 1.025 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.04741, allocations: 183.3 kB / 1.025 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.04743, allocations: 15.97 kB / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.04743, allocations: 96 / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.04744, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.0483, allocations: 0.5206 MB / 1.025 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.0483, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.04856, allocations: 51.94 kB / 1.025 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.04857, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.04859, allocations: 12.12 kB / 1.025 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.04859, allocations: 3.938 kB / 1.025 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.0486, allocations: 7.938 kB / 1.025 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.04933, allocations: 439.2 kB / 1.026 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.04943, allocations: 39.78 kB / 1.026 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.04946, allocations: 4 kB / 1.026 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.04968, allocations: 23.97 kB / 1.026 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.04975, allocations: 19.91 kB / 1.026 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.04977, allocations: 8 kB / 1.026 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001578/0.04993, allocations: 153.2 kB / 1.026 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.04993, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005149/0.05044, allocations: 99.64 kB / 1.026 GB, free: 12.23 MB / 0.9825 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.0004294/0.05087, allocations: 187 kB / 1.026 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.0515, allocations: 175.7 kB / 1.026 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.0515, allocations: 4 kB / 1.026 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.05181, allocations: 104.3 kB / 1.027 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.05246, allocations: 84.81 kB / 1.027 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.05351, allocations: 496.8 kB / 1.027 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.05372, allocations: 166.5 kB / 1.027 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.05386, allocations: 41.39 kB / 1.027 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.05392, allocations: 20.5 kB / 1.027 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.05392, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.01112/0.06504, allocations: 4.287 MB / 1.031 GB, free: 6.703 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.586908344179392]