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.001431/0.001431, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001594/0.001594, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.896/2.896, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.286e-06/3.286e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.797e-05/4.126e-05, allocations: 3.297 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02249/0.02253, allocations: 13.76 MB / 0.8242 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006299/0.02883, allocations: 3.498 MB / 0.8276 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.02937, allocations: 19.81 kB / 0.8277 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.03009, allocations: 174.7 kB / 0.8278 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.03149, allocations: 417.7 kB / 0.8282 GB, free: 276 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.03267, allocations: 367.1 kB / 0.8286 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.03393, allocations: 0.7762 MB / 0.8293 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.03456, allocations: 232.8 kB / 0.8296 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.03636, allocations: 0.5643 MB / 0.8301 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.03682, allocations: 187.3 kB / 0.8303 GB, free: 14.16 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.0369, allocations: 24 kB / 0.8303 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.03753, allocations: 195.5 kB / 0.8305 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.03768, allocations: 79.66 kB / 0.8306 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.03789, allocations: 95.77 kB / 0.8307 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0009573/0.03885, allocations: 438.6 kB / 0.8311 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.03885, allocations: 0 / 0.8311 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.162e-06/0.03885, allocations: 0 / 0.8311 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.03887, allocations: 0 / 0.8311 GB, free: 13.34 MB / 0.7917 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.00119/0.04006, allocations: 0.5284 MB / 0.8316 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.04011, allocations: 19.97 kB / 0.8316 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.04027, allocations: 44.75 kB / 0.8317 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.04096, allocations: 289 kB / 0.8319 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.04099, allocations: 16.88 kB / 0.832 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.04104, allocations: 20.38 kB / 0.832 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007326/0.04177, allocations: 310.2 kB / 0.8323 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.04178, allocations: 192 / 0.8323 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.04182, allocations: 16.12 kB / 0.8323 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.04183, allocations: 4 kB / 0.8323 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.04238, allocations: 180.5 kB / 0.8325 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.04377, allocations: 0.6495 MB / 0.8331 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003604/0.04413, allocations: 137.1 kB / 0.8332 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.04439, allocations: 85.64 kB / 0.8333 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.0446, allocations: 51.95 kB / 0.8334 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.04464, allocations: 34.56 kB / 0.8334 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.04464, allocations: 0 / 0.8334 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12): time 0.0009027/0.04554, allocations: 265.4 kB / 0.8336 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.04561, allocations: 81.11 kB / 0.8337 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.04588, allocations: 217.9 kB / 0.8339 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.04591, allocations: 29.7 kB / 0.834 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.04608, allocations: 176.3 kB / 0.8341 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.04614, allocations: 43.64 kB / 0.8342 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.04622, allocations: 41.64 kB / 0.8342 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.04642, allocations: 330.8 kB / 0.8345 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.04664, allocations: 64.2 kB / 0.8346 GB, free: 9.551 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.04704, allocations: 268.2 kB / 0.8348 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.04752, allocations: 180.1 kB / 0.835 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.04752, allocations: 0 / 0.835 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005875/0.04811, allocations: 209.3 kB / 0.8352 GB, free: 8.828 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.04813, allocations: 8 kB / 0.8352 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.04813, allocations: 0 / 0.8352 GB, free: 8.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.04816, allocations: 7.938 kB / 0.8352 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.04846, allocations: 52.03 kB / 0.8353 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.04846, allocations: 7.938 kB / 0.8353 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.04866, allocations: 27.92 kB / 0.8353 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.04868, allocations: 7.938 kB / 0.8353 GB, free: 8.719 MB / 0.7917 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.0001816/0.04887, allocations: 145.8 kB / 0.8355 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.04894, allocations: 19.91 kB / 0.8355 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.04932, allocations: 191.2 kB / 0.8357 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.04934, allocations: 7.938 kB / 0.8357 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.04934, allocations: 0 / 0.8357 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.04934, allocations: 0 / 0.8357 GB, free: 8.348 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.05025, allocations: 0.5168 MB / 0.8362 GB, free: 7.781 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.05025, allocations: 0 / 0.8362 GB, free: 7.781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.05053, allocations: 60 kB / 0.8362 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.05053, allocations: 0 / 0.8362 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.05055, allocations: 8 kB / 0.8362 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.05055, allocations: 0 / 0.8362 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.05056, allocations: 7.984 kB / 0.8362 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.05158, allocations: 437.9 kB / 0.8367 GB, free: 7.25 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.05168, allocations: 43.77 kB / 0.8367 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.05171, allocations: 8.125 kB / 0.8367 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.05195, allocations: 19.98 kB / 0.8367 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.05202, allocations: 15.97 kB / 0.8367 GB, free: 7.164 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.05204, allocations: 8 kB / 0.8368 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00017/0.05221, allocations: 157.2 kB / 0.8369 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.05221, allocations: 0 / 0.8369 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005088/0.05272, allocations: 99.7 kB / 0.837 GB, free: 6.906 MB / 0.7917 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.0004505/0.05317, allocations: 198.8 kB / 0.8372 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005717/0.05374, allocations: 175.7 kB / 0.8374 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.05375, allocations: 4.188 kB / 0.8374 GB, free: 6.527 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.05405, allocations: 107.8 kB / 0.8375 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.05481, allocations: 92.77 kB / 0.8375 GB, free: 6.336 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.05591, allocations: 0.5067 MB / 0.838 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.05614, allocations: 170.8 kB / 0.8382 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.05631, allocations: 45.55 kB / 0.8383 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.05638, allocations: 24.5 kB / 0.8383 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of SimCode: time 7.02e-07/0.05638, allocations: 0 / 0.8383 GB, free: 5.527 MB / 0.7917 GB Notification: Performance of Templates: time 0.0116/0.06797, allocations: 4.602 MB / 0.8428 GB, free: 1.043 MB / 0.7917 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 -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: 8.189369881991297]