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.001367/0.001367, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.001473/0.001473, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.294/3.294, allocations: 0.4899 GB / 0.7915 GB, free: 33.38 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.002051/0.002051, allocations: 69.34 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4875, allocations: 176.1 MB / 1.321 GB, free: 2.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02206/0.5096, allocations: 15.03 MB / 1.336 GB, free: 3.727 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.516, allocations: 3.757 MB / 1.34 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.5166, allocations: 19.72 kB / 1.34 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.5172, allocations: 174.7 kB / 1.34 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.5185, allocations: 426 kB / 1.34 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.5195, allocations: 322.9 kB / 1.34 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.5207, allocations: 0.7648 MB / 1.341 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.5211, allocations: 240.1 kB / 1.341 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.5223, allocations: 474 kB / 1.342 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.5226, allocations: 230.9 kB / 1.342 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.5227, allocations: 23.94 kB / 1.342 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005842/0.5233, allocations: 231.6 kB / 1.342 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.5234, allocations: 83.67 kB / 1.342 GB, free: 13.01 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.5235, allocations: 139.3 kB / 1.343 GB, free: 12.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007318/0.5243, allocations: 430.3 kB / 1.343 GB, free: 12.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5243, allocations: 4 kB / 1.343 GB, free: 12.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5243, allocations: 0 / 1.343 GB, free: 12.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.5243, allocations: 0 / 1.343 GB, free: 12.45 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.001035/0.5253, allocations: 0.6114 MB / 1.344 GB, free: 11.79 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5254, allocations: 15.98 kB / 1.344 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.5255, allocations: 36.7 kB / 1.344 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.5261, allocations: 331.2 kB / 1.344 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.5261, allocations: 16.81 kB / 1.344 GB, free: 11.36 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.5261, allocations: 28.31 kB / 1.344 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.5268, allocations: 257.5 kB / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5268, allocations: 0 / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.5268, allocations: 12 kB / 1.344 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5268, allocations: 4 kB / 1.344 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.5273, allocations: 185.6 kB / 1.344 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5287, allocations: 0.8353 MB / 1.345 GB, free: 9.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.5291, allocations: 133.2 kB / 1.345 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.5293, allocations: 93.59 kB / 1.345 GB, free: 9.723 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005114/0.5298, allocations: 0.4948 MB / 1.346 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.5299, allocations: 34.56 kB / 1.346 GB, free: 9.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.794e-06/0.5299, allocations: 0 / 1.346 GB, free: 9.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0008836/0.5308, allocations: 269.3 kB / 1.346 GB, free: 8.805 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.5308, allocations: 81.11 kB / 1.346 GB, free: 8.707 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.5311, allocations: 263 kB / 1.347 GB, free: 8.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.5312, allocations: 33.7 kB / 1.347 GB, free: 8.402 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.5313, allocations: 164.4 kB / 1.347 GB, free: 8.238 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.5314, allocations: 47.64 kB / 1.347 GB, free: 8.191 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.5314, allocations: 33.7 kB / 1.347 GB, free: 8.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5316, allocations: 338.8 kB / 1.347 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.5319, allocations: 63.94 kB / 1.347 GB, free: 7.75 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.5323, allocations: 117.9 kB / 1.347 GB, free: 7.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.5328, allocations: 172.1 kB / 1.347 GB, free: 7.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5328, allocations: 0 / 1.347 GB, free: 7.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005741/0.5334, allocations: 213.2 kB / 1.348 GB, free: 7.215 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5334, allocations: 10.19 kB / 1.348 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5334, allocations: 0 / 1.348 GB, free: 7.207 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5334, allocations: 3.984 kB / 1.348 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.5337, allocations: 55.98 kB / 1.348 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5338, allocations: 4 kB / 1.348 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.534, allocations: 31.86 kB / 1.348 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.534, allocations: 4 kB / 1.348 GB, free: 7.109 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.0001706/0.5342, allocations: 141.8 kB / 1.348 GB, free: 6.961 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.5342, allocations: 39.69 kB / 1.348 GB, free: 6.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.5346, allocations: 183.2 kB / 1.348 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.5346, allocations: 4 kB / 1.348 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5346, allocations: 3.984 kB / 1.348 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5346, allocations: 0 / 1.348 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009016/0.5355, allocations: 0.6029 MB / 1.349 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5355, allocations: 4 kB / 1.349 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.5358, allocations: 56.06 kB / 1.349 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5358, allocations: 4 kB / 1.349 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5358, allocations: 448 / 1.349 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.5358, allocations: 4 kB / 1.349 GB, free: 5.992 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5358, allocations: 4 kB / 1.349 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007064/0.5365, allocations: 441.9 kB / 1.349 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.5367, allocations: 124.9 kB / 1.349 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.5367, allocations: 4 kB / 1.349 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5369, allocations: 19.98 kB / 1.349 GB, free: 5.363 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.537, allocations: 15.92 kB / 1.349 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.537, allocations: 15.98 kB / 1.349 GB, free: 5.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002257/0.5372, allocations: 193.9 kB / 1.35 GB, free: 5.141 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.5372, allocations: 0 / 1.35 GB, free: 5.141 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004959/0.5377, allocations: 87.77 kB / 1.35 GB, free: 5.055 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.000427/0.5382, allocations: 198.9 kB / 1.35 GB, free: 4.848 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.5387, allocations: 167.9 kB / 1.35 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5387, allocations: 0 / 1.35 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.539, allocations: 103.9 kB / 1.35 GB, free: 4.582 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.5399, allocations: 119.6 kB / 1.35 GB, free: 4.465 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5409, allocations: 0.5201 MB / 1.351 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.5414, allocations: 0.7753 MB / 1.352 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.5415, allocations: 62.25 kB / 1.352 GB, free: 3.043 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.5416, allocations: 27.44 kB / 1.352 GB, free: 3.016 MB / 1.045 GB Notification: Performance of SimCode: time 6.12e-07/0.5416, allocations: 0 / 1.352 GB, free: 3.016 MB / 1.045 GB Notification: Performance of Templates: time 0.0117/0.5533, allocations: 5.277 MB / 1.357 GB, free: 13.82 MB / 1.061 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.491896396968514]