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.001299/0.001299, allocations: 117.2 kB / 17.13 MB, free: 5.945 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.001418/0.001418, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 2.842/2.842, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.00201/0.00201, allocations: 63.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8773, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01211/0.8894, allocations: 15.02 MB / 1.337 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.8935, allocations: 3.745 MB / 1.34 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004859/0.894, allocations: 24.69 kB / 1.34 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005894/0.8946, allocations: 180.7 kB / 1.34 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000965/0.8956, allocations: 413.6 kB / 1.341 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.8965, allocations: 336.3 kB / 1.341 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009879/0.8974, allocations: 0.7621 MB / 1.342 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.8978, allocations: 238.9 kB / 1.342 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.8987, allocations: 477.2 kB / 1.343 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.899, allocations: 230.9 kB / 1.343 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.899, allocations: 24.5 kB / 1.343 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.8995, allocations: 232.2 kB / 1.343 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.8996, allocations: 76.17 kB / 1.343 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.8997, allocations: 140.8 kB / 1.343 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.9003, allocations: 430.5 kB / 1.344 GB, free: 9.949 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9003, allocations: 4 kB / 1.344 GB, free: 9.945 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9003, allocations: 0 / 1.344 GB, free: 9.945 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.9003, allocations: 4 kB / 1.344 GB, free: 9.941 MB / 1.061 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.0007488/0.9011, allocations: 0.6162 MB / 1.344 GB, free: 9.418 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.9011, allocations: 13.58 kB / 1.344 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.9012, allocations: 39.38 kB / 1.344 GB, free: 9.395 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.9016, allocations: 335.8 kB / 1.345 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.9016, allocations: 18.31 kB / 1.345 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.9017, allocations: 20.52 kB / 1.345 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005197/0.9022, allocations: 266.4 kB / 1.345 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9022, allocations: 0 / 1.345 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.9022, allocations: 10.38 kB / 1.345 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.9022, allocations: 4.188 kB / 1.345 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.9027, allocations: 179.9 kB / 1.345 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.9037, allocations: 0.8338 MB / 1.346 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.904, allocations: 129.8 kB / 1.346 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.9042, allocations: 96.39 kB / 1.346 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.9045, allocations: 498.2 kB / 1.347 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.9045, allocations: 40.53 kB / 1.347 GB, free: 7.602 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.9045, allocations: 0 / 1.347 GB, free: 7.602 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007484/0.9052, allocations: 257.6 kB / 1.347 GB, free: 7.512 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.9053, allocations: 79.8 kB / 1.347 GB, free: 7.418 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.9055, allocations: 272 kB / 1.347 GB, free: 7.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.9055, allocations: 27.05 kB / 1.347 GB, free: 7.234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.9056, allocations: 175 kB / 1.347 GB, free: 7.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.9056, allocations: 43.5 kB / 1.348 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.9057, allocations: 35.89 kB / 1.348 GB, free: 7.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.9057, allocations: 336 kB / 1.348 GB, free: 6.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.9059, allocations: 60.52 kB / 1.348 GB, free: 6.691 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.9062, allocations: 119.8 kB / 1.348 GB, free: 6.617 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.9066, allocations: 170.4 kB / 1.348 GB, free: 6.539 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9066, allocations: 3.938 kB / 1.348 GB, free: 6.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004869/0.9071, allocations: 212.5 kB / 1.348 GB, free: 6.449 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.9071, allocations: 6.156 kB / 1.348 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9071, allocations: 2.047 kB / 1.348 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9071, allocations: 1.156 kB / 1.348 GB, free: 6.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.9074, allocations: 66.58 kB / 1.348 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.9074, allocations: 6.094 kB / 1.348 GB, free: 6.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.9076, allocations: 27.02 kB / 1.349 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.9076, allocations: 12.03 kB / 1.349 GB, free: 6.418 MB / 1.061 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 9.988e-05/0.9077, allocations: 141.4 kB / 1.349 GB, free: 6.289 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.9078, allocations: 32.28 kB / 1.349 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.908, allocations: 187.1 kB / 1.349 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9081, allocations: 2.266 kB / 1.349 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9081, allocations: 1.594 kB / 1.349 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9081, allocations: 0.7031 kB / 1.349 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.9087, allocations: 0.6079 MB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9087, allocations: 1.891 kB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.909, allocations: 52.59 kB / 1.35 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.909, allocations: 2.156 kB / 1.35 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.909, allocations: 8.062 kB / 1.35 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.909, allocations: 6.125 kB / 1.35 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.909, allocations: 1.656 kB / 1.35 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.9096, allocations: 436.4 kB / 1.35 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.9097, allocations: 126 kB / 1.35 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.9097, allocations: 6.906 kB / 1.35 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.9099, allocations: 15.59 kB / 1.35 GB, free: 5.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.91, allocations: 23.64 kB / 1.35 GB, free: 5.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.91, allocations: 6.734 kB / 1.35 GB, free: 5.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001629/0.9101, allocations: 197.3 kB / 1.35 GB, free: 5.148 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9101, allocations: 1.094 kB / 1.35 GB, free: 5.148 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004921/0.9106, allocations: 91.58 kB / 1.35 GB, free: 5.125 MB / 1.061 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.0003369/0.911, allocations: 192.3 kB / 1.351 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.9115, allocations: 172 kB / 1.351 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9115, allocations: 0 / 1.351 GB, free: 4.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.9118, allocations: 103.3 kB / 1.351 GB, free: 4.934 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.9125, allocations: 116.7 kB / 1.351 GB, free: 4.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008251/0.9134, allocations: 0.5561 MB / 1.351 GB, free: 4.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.9136, allocations: 0.7726 MB / 1.352 GB, free: 3.809 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.9137, allocations: 24.08 kB / 1.352 GB, free: 3.801 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9137, allocations: 0 / 1.352 GB, free: 3.801 MB / 1.061 GB Notification: Performance of Templates: time 0.008276/0.9219, allocations: 4.581 MB / 1.357 GB, free: 3.223 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/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: 11.711399463005364]