Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009036/0.0009036, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.00229, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008875/0.0008875, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002176, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9448/0.9448, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09978/1.045, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4746/2.291, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047e-05/1.172e-05, allocations: 3.078 kB / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.005784/0.005796, allocations: 6.729 MB / 0.7362 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.007253, allocations: 1.343 MB / 0.7375 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.007407, allocations: 23.81 kB / 0.7375 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.007627, allocations: 120.1 kB / 0.7377 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.007986, allocations: 276.5 kB / 0.7379 GB, free: 12 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.008461, allocations: 352.4 kB / 0.7383 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.00897, allocations: 0.7653 MB / 0.739 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.009231, allocations: 229.3 kB / 0.7392 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.009606, allocations: 416.2 kB / 0.7396 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.009775, allocations: 175.4 kB / 0.7398 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.009805, allocations: 20 kB / 0.7398 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.009975, allocations: 112.5 kB / 0.7399 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.01003, allocations: 59.8 kB / 0.74 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.01009, allocations: 84.5 kB / 0.7401 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.01037, allocations: 259.1 kB / 0.7403 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.01038, allocations: 1.781 kB / 0.7403 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.01038, allocations: 0 / 0.7403 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.01039, allocations: 0 / 0.7403 GB, free: 9.566 MB / 0.7136 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.000552/0.01095, allocations: 0.554 MB / 0.7408 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.01098, allocations: 9.375 kB / 0.7409 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.01103, allocations: 36.91 kB / 0.7409 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.01138, allocations: 264.1 kB / 0.7411 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.0114, allocations: 20.86 kB / 0.7412 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.01142, allocations: 24.38 kB / 0.7412 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.01166, allocations: 248.9 kB / 0.7414 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.01167, allocations: 192 / 0.7414 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01168, allocations: 12.12 kB / 0.7414 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.01169, allocations: 8 kB / 0.7414 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.01175, allocations: 56.33 kB / 0.7415 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.01228, allocations: 0.5061 MB / 0.742 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.01238, allocations: 118.8 kB / 0.7421 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.01242, allocations: 32.53 kB / 0.7421 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.01249, allocations: 23.98 kB / 0.7422 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.01251, allocations: 31.06 kB / 0.7422 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.01251, allocations: 0.6562 kB / 0.7422 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0001515/0.01266, allocations: 93.73 kB / 0.7423 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.01269, allocations: 82.48 kB / 0.7424 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.01279, allocations: 213 kB / 0.7426 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.01281, allocations: 29.7 kB / 0.7426 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.01287, allocations: 152.8 kB / 0.7427 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.01289, allocations: 50 kB / 0.7428 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.01293, allocations: 33.7 kB / 0.7428 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.013, allocations: 334.8 kB / 0.7431 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.01302, allocations: 14.81 kB / 0.7431 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-05/0.0131, allocations: 208.2 kB / 0.7433 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.01317, allocations: 86.25 kB / 0.7434 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01317, allocations: 4.312 kB / 0.7434 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.364e-05/0.01327, allocations: 98.02 kB / 0.7435 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01328, allocations: 8 kB / 0.7435 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.01328, allocations: 48 / 0.7435 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.01329, allocations: 4.734 kB / 0.7435 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.0134, allocations: 45.17 kB / 0.7436 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01341, allocations: 11.88 kB / 0.7436 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.01346, allocations: 17.36 kB / 0.7436 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01348, allocations: 7.984 kB / 0.7436 GB, free: 5.914 MB / 0.7136 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 6.809e-05/0.01355, allocations: 120.6 kB / 0.7437 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01358, allocations: 21.27 kB / 0.7437 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.0137, allocations: 111.3 kB / 0.7439 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.01371, allocations: 0 / 0.7439 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01371, allocations: 8.719 kB / 0.7439 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01372, allocations: 0 / 0.7439 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.01406, allocations: 0.4942 MB / 0.7443 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01406, allocations: 0 / 0.7443 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.01414, allocations: 45.12 kB / 0.7444 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.01418, allocations: 35.78 kB / 0.7444 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01418, allocations: 4.625 kB / 0.7444 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.01419, allocations: 5.484 kB / 0.7444 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01419, allocations: 4 kB / 0.7444 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01419, allocations: 0 / 0.7444 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01436, allocations: 400.8 kB / 0.7448 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.01437, allocations: 12.91 kB / 0.7448 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.01445, allocations: 4 kB / 0.7448 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.01449, allocations: 20.56 kB / 0.7449 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.01449, allocations: 8.594 kB / 0.7449 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.01454, allocations: 66.78 kB / 0.7449 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01454, allocations: 4.656 kB / 0.7449 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002037/0.01474, allocations: 75.75 kB / 0.745 GB, free: 4.41 MB / 0.7136 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.0001619/0.0149, allocations: 136 kB / 0.7451 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01501, allocations: 60.77 kB / 0.7452 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.01501, allocations: 6.438 kB / 0.7452 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.01508, allocations: 66.89 kB / 0.7453 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.01551, allocations: 434.4 kB / 0.7457 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.01742, allocations: 0.5108 MB / 0.7462 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.01748, allocations: 96.16 kB / 0.7463 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.773e-05/0.01753, allocations: 25.05 kB / 0.7463 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.01768, allocations: 121.3 kB / 0.7464 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.01768, allocations: 0 / 0.7464 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.005752/0.02343, allocations: 4.522 MB / 0.7508 GB, free: 14.53 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.890173824504018]