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.0008357/0.0008357, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008401/0.0008401, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.146e-05, allocations: 10.16 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01081/0.01085, allocations: 13.72 MB / 1.014 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.01418, allocations: 3.468 MB / 1.018 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.01456, allocations: 15.88 kB / 1.018 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.01512, allocations: 170.6 kB / 1.018 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009791/0.0161, allocations: 429.6 kB / 1.018 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000829/0.01693, allocations: 353.2 kB / 1.019 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006348/0.01756, allocations: 0.7333 MB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.01787, allocations: 207.8 kB / 1.019 GB, free: 9.895 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007313/0.0186, allocations: 0.5486 MB / 1.02 GB, free: 9.344 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.0188, allocations: 183.4 kB / 1.02 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.01883, allocations: 24 kB / 1.02 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.0192, allocations: 187.6 kB / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.01928, allocations: 83.67 kB / 1.02 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.01936, allocations: 99.77 kB / 1.021 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.01985, allocations: 434.7 kB / 1.021 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01985, allocations: 0 / 1.021 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.604e-06/0.01985, allocations: 0 / 1.021 GB, free: 8.352 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.01986, allocations: 0 / 1.021 GB, free: 8.352 MB / 0.9792 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.0006655/0.02052, allocations: 0.5283 MB / 1.022 GB, free: 7.793 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.02057, allocations: 8.75 kB / 1.022 GB, free: 7.785 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.02064, allocations: 36.73 kB / 1.022 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.02105, allocations: 261.1 kB / 1.022 GB, free: 7.473 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.02107, allocations: 16.88 kB / 1.022 GB, free: 7.453 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.0211, allocations: 24.38 kB / 1.022 GB, free: 7.43 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.02148, allocations: 306.2 kB / 1.022 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.02149, allocations: 4.188 kB / 1.022 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.02151, allocations: 12.12 kB / 1.022 GB, free: 7.094 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.02152, allocations: 4 kB / 1.022 GB, free: 7.09 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.0218, allocations: 188.4 kB / 1.022 GB, free: 6.906 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.02259, allocations: 0.6387 MB / 1.023 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.02279, allocations: 137.1 kB / 1.023 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.0229, allocations: 89.66 kB / 1.023 GB, free: 5.984 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.02304, allocations: 39.97 kB / 1.023 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.02307, allocations: 46.48 kB / 1.023 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.02307, allocations: 0 / 1.023 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0004572/0.02353, allocations: 253.3 kB / 1.024 GB, free: 5.637 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.02357, allocations: 81.11 kB / 1.024 GB, free: 5.539 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.02371, allocations: 217.8 kB / 1.024 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.02372, allocations: 25.7 kB / 1.024 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.02381, allocations: 172.5 kB / 1.024 GB, free: 5.113 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.02383, allocations: 43.64 kB / 1.024 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.02388, allocations: 37.7 kB / 1.024 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.02396, allocations: 330.8 kB / 1.024 GB, free: 4.695 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.02406, allocations: 63.88 kB / 1.024 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.02424, allocations: 280.1 kB / 1.025 GB, free: 4.301 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.02444, allocations: 164.1 kB / 1.025 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.02445, allocations: 4 kB / 1.025 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002567/0.02471, allocations: 205.3 kB / 1.025 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.02472, allocations: 8 kB / 1.025 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.02473, allocations: 0 / 1.025 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.02474, allocations: 7.938 kB / 1.025 GB, free: 3.898 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.02489, allocations: 56.03 kB / 1.025 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.0249, allocations: 4 kB / 1.025 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.02498, allocations: 27.86 kB / 1.025 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.025, allocations: 8 kB / 1.025 GB, free: 3.805 MB / 0.9792 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.0002708/0.02528, allocations: 141.8 kB / 1.025 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.02531, allocations: 19.91 kB / 1.025 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.02554, allocations: 179.3 kB / 1.025 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.02555, allocations: 7.938 kB / 1.025 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.02556, allocations: 4 kB / 1.025 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.02556, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.02605, allocations: 0.5246 MB / 1.026 GB, free: 2.867 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.02606, allocations: 448 / 1.026 GB, free: 2.867 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.02617, allocations: 47.94 kB / 1.026 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.02618, allocations: 4 kB / 1.026 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.02619, allocations: 12 kB / 1.026 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.02619, allocations: 8.062 kB / 1.026 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.0262, allocations: 4 kB / 1.026 GB, free: 2.793 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.02653, allocations: 438 kB / 1.026 GB, free: 2.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.02659, allocations: 43.77 kB / 1.027 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.0266, allocations: 4 kB / 1.027 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02671, allocations: 19.98 kB / 1.027 GB, free: 2.27 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.02676, allocations: 19.91 kB / 1.027 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02677, allocations: 8 kB / 1.027 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.313e-05/0.02686, allocations: 153.2 kB / 1.027 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.02686, allocations: 0 / 1.027 GB, free: 2.098 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000324/0.02718, allocations: 99.66 kB / 1.027 GB, free: 2 MB / 0.9792 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.0003031/0.02749, allocations: 195 kB / 1.027 GB, free: 1.801 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.02779, allocations: 180.1 kB / 1.027 GB, free: 1.629 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02779, allocations: 4 kB / 1.027 GB, free: 1.625 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.02793, allocations: 108.2 kB / 1.027 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.02834, allocations: 71.08 kB / 1.027 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.029, allocations: 0.522 MB / 1.028 GB, free: 0.8789 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.02912, allocations: 162.5 kB / 1.028 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.02916, allocations: 20.5 kB / 1.028 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of SimCode: time 9.61e-07/0.02916, allocations: 4 kB / 1.028 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of Templates: time 0.004951/0.03411, allocations: 4.163 MB / 1.032 GB, free: 12.54 MB / 0.9948 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: 7.292117261327803]