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.001745/0.001745, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002193/0.002193, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.66 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.002087/0.002087, allocations: 67.47 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3213, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01724/0.3385, allocations: 13.85 MB / 1.341 GB, free: 3.094 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005009/0.3435, allocations: 3.505 MB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3438, allocations: 23.81 kB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.3443, allocations: 170.7 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009727/0.3453, allocations: 418 kB / 1.345 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.3462, allocations: 346.2 kB / 1.345 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.347, allocations: 0.7764 MB / 1.346 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.3474, allocations: 236.6 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.3483, allocations: 486 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3486, allocations: 226.9 kB / 1.347 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.3487, allocations: 24 kB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.3491, allocations: 187.6 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.799e-05/0.3492, allocations: 75.75 kB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3493, allocations: 119.4 kB / 1.347 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.3499, allocations: 426.3 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3499, allocations: 4 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3499, allocations: 0 / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3499, allocations: 0 / 1.347 GB, free: 12.12 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.0009009/0.3508, allocations: 0.5322 MB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3508, allocations: 12.02 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.3509, allocations: 40.7 kB / 1.348 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.3514, allocations: 257.4 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3515, allocations: 16.81 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.3515, allocations: 20.38 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.3521, allocations: 312.9 kB / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3521, allocations: 0 / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3521, allocations: 8 kB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3522, allocations: 15.94 kB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.3527, allocations: 176.5 kB / 1.349 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3539, allocations: 0.6613 MB / 1.349 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.3542, allocations: 137.1 kB / 1.35 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.3544, allocations: 81.66 kB / 1.35 GB, free: 9.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.3546, allocations: 43.97 kB / 1.35 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3546, allocations: 38.5 kB / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3546, allocations: 0 / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008081/0.3554, allocations: 265.5 kB / 1.35 GB, free: 9.375 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3555, allocations: 81.09 kB / 1.35 GB, free: 9.277 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3557, allocations: 217.1 kB / 1.35 GB, free: 9.055 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3558, allocations: 33.64 kB / 1.35 GB, free: 9.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.3559, allocations: 176.3 kB / 1.35 GB, free: 8.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.3559, allocations: 43.64 kB / 1.35 GB, free: 8.797 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.356, allocations: 37.7 kB / 1.35 GB, free: 8.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3562, allocations: 334.8 kB / 1.351 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3564, allocations: 59.94 kB / 1.351 GB, free: 8.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.3567, allocations: 276.1 kB / 1.351 GB, free: 8.031 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3571, allocations: 168.1 kB / 1.351 GB, free: 7.852 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3571, allocations: 0 / 1.351 GB, free: 7.852 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005298/0.3577, allocations: 209.3 kB / 1.351 GB, free: 7.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3577, allocations: 8.094 kB / 1.351 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3577, allocations: 4 kB / 1.351 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3577, allocations: 0 / 1.351 GB, free: 7.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.358, allocations: 47.95 kB / 1.352 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.358, allocations: 7.984 kB / 1.352 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3582, allocations: 23.88 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3582, allocations: 8 kB / 1.352 GB, free: 7.543 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.000151/0.3583, allocations: 149.8 kB / 1.352 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.3584, allocations: 27.8 kB / 1.352 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.3588, allocations: 179.2 kB / 1.352 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3588, allocations: 4 kB / 1.352 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3588, allocations: 3.984 kB / 1.352 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3588, allocations: 0 / 1.352 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.3595, allocations: 0.5245 MB / 1.352 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3596, allocations: 3.938 kB / 1.352 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3598, allocations: 56.06 kB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3598, allocations: 4.031 kB / 1.352 GB, free: 6.531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3599, allocations: 8.438 kB / 1.352 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3599, allocations: 3.938 kB / 1.353 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3599, allocations: 8 kB / 1.353 GB, free: 6.512 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.3605, allocations: 436 kB / 1.353 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.3606, allocations: 43.77 kB / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3607, allocations: 8 kB / 1.353 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3609, allocations: 15.97 kB / 1.353 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.361, allocations: 23.95 kB / 1.353 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.361, allocations: 11.92 kB / 1.353 GB, free: 5.957 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001571/0.3611, allocations: 152.5 kB / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3611, allocations: 0 / 1.353 GB, free: 5.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004803/0.3616, allocations: 95.75 kB / 1.353 GB, free: 5.715 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.0003495/0.362, allocations: 189.2 kB / 1.353 GB, free: 5.523 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.3625, allocations: 179.9 kB / 1.354 GB, free: 5.348 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3625, allocations: 0 / 1.354 GB, free: 5.348 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.3628, allocations: 107.8 kB / 1.354 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006971/0.3635, allocations: 85.47 kB / 1.354 GB, free: 5.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.3644, allocations: 0.5208 MB / 1.354 GB, free: 4.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3646, allocations: 174.7 kB / 1.354 GB, free: 4.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.3647, allocations: 53.92 kB / 1.355 GB, free: 4.359 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.3647, allocations: 23.42 kB / 1.355 GB, free: 4.336 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3647, allocations: 3.938 kB / 1.355 GB, free: 4.332 MB / 1.045 GB Notification: Performance of Templates: time 0.01033/0.3751, allocations: 4.973 MB / 1.359 GB, free: 15.46 MB / 1.061 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=400 -s gbode -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/jenkins1/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: 8.720957204990555]