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.001318/0.001318, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002261/0.002261, allocations: 211.2 kB / 22.24 MB, free: 5.246 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.412/3.412, allocations: 0.4892 GB / 0.7943 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 62.41 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4349, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01919/0.4541, allocations: 13.85 MB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006019/0.4601, allocations: 3.501 MB / 1.342 GB, free: 452 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.4606, allocations: 23.81 kB / 1.342 GB, free: 428 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.4613, allocations: 174.7 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4625, allocations: 422 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.4636, allocations: 341.4 kB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.4646, allocations: 0.7725 MB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004552/0.4651, allocations: 228.6 kB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.4661, allocations: 481.9 kB / 1.345 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.4665, allocations: 223 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.4665, allocations: 20 kB / 1.345 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.467, allocations: 195.6 kB / 1.345 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.4672, allocations: 71.69 kB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.4673, allocations: 115.5 kB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.4681, allocations: 426.4 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4681, allocations: 3.984 kB / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4681, allocations: 0 / 1.346 GB, free: 12.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4681, allocations: 0 / 1.346 GB, free: 12.99 MB / 1.045 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.001041/0.4691, allocations: 0.5369 MB / 1.346 GB, free: 12.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4692, allocations: 12.03 kB / 1.346 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.4693, allocations: 36.7 kB / 1.346 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.4699, allocations: 261.5 kB / 1.347 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.4699, allocations: 16.81 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.4699, allocations: 28.31 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.4706, allocations: 308.9 kB / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4706, allocations: 0 / 1.347 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.4706, allocations: 8 kB / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4706, allocations: 8 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.4711, allocations: 185.5 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.4725, allocations: 0.6534 MB / 1.348 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4728, allocations: 133.2 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.4731, allocations: 81.66 kB / 1.348 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/0.4732, allocations: 43.97 kB / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.4733, allocations: 50.42 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.4733, allocations: 0 / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0007967/0.4741, allocations: 257.7 kB / 1.348 GB, free: 10.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.4742, allocations: 81.11 kB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.4744, allocations: 213.1 kB / 1.349 GB, free: 9.938 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.4745, allocations: 33.7 kB / 1.349 GB, free: 9.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4746, allocations: 176.3 kB / 1.349 GB, free: 9.723 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4747, allocations: 43.64 kB / 1.349 GB, free: 9.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.4747, allocations: 33.7 kB / 1.349 GB, free: 9.641 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4749, allocations: 334.8 kB / 1.349 GB, free: 9.305 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4751, allocations: 59.94 kB / 1.349 GB, free: 9.246 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.4755, allocations: 276.3 kB / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.4759, allocations: 168.1 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4759, allocations: 0 / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005641/0.4764, allocations: 209.3 kB / 1.35 GB, free: 8.527 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4765, allocations: 9.875 kB / 1.35 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4765, allocations: 0 / 1.35 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4765, allocations: 8.031 kB / 1.35 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.4768, allocations: 59.88 kB / 1.35 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.4768, allocations: 4 kB / 1.35 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.477, allocations: 23.88 kB / 1.35 GB, free: 8.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.477, allocations: 11.98 kB / 1.35 GB, free: 8.414 MB / 1.045 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.0001707/0.4772, allocations: 137.8 kB / 1.35 GB, free: 8.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.4772, allocations: 31.8 kB / 1.35 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/0.4776, allocations: 179.2 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.4776, allocations: 7.938 kB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4776, allocations: 0 / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4776, allocations: 0 / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008673/0.4785, allocations: 0.5207 MB / 1.351 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4785, allocations: 0 / 1.351 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4788, allocations: 64 kB / 1.351 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4788, allocations: 0 / 1.351 GB, free: 7.414 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4788, allocations: 4 kB / 1.351 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4788, allocations: 4 kB / 1.351 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4788, allocations: 0 / 1.351 GB, free: 7.406 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.4794, allocations: 437.9 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.89e-05/0.4795, allocations: 43.91 kB / 1.351 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.4796, allocations: 15.98 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4798, allocations: 11.98 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.4798, allocations: 23.91 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.4799, allocations: 4 kB / 1.351 GB, free: 6.852 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001613/0.48, allocations: 160.5 kB / 1.352 GB, free: 6.695 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.48, allocations: 4 kB / 1.352 GB, free: 6.691 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005022/0.4805, allocations: 83.77 kB / 1.352 GB, free: 6.609 MB / 1.045 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.0003759/0.4809, allocations: 199 kB / 1.352 GB, free: 6.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.4814, allocations: 171.9 kB / 1.352 GB, free: 6.238 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4814, allocations: 4 kB / 1.352 GB, free: 6.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.4817, allocations: 103.9 kB / 1.352 GB, free: 6.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.4824, allocations: 98.77 kB / 1.352 GB, free: 6.043 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4835, allocations: 0.5168 MB / 1.353 GB, free: 5.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4837, allocations: 174.7 kB / 1.353 GB, free: 5.293 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000152/0.4838, allocations: 53.97 kB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.4839, allocations: 23.44 kB / 1.353 GB, free: 5.219 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4839, allocations: 0 / 1.353 GB, free: 5.219 MB / 1.045 GB Notification: Performance of Templates: time 0.01143/0.4953, allocations: 4.91 MB / 1.358 GB, free: 420 kB / 1.045 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.90538252517581]