Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.001725/0.001725, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002323/0.002323, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.793 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.387/3.387, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [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.002152/0.002152, allocations: 70.81 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4385, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2594/0.6979, allocations: 186 MB / 1.507 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.7146, allocations: 9.297 MB / 1.516 GB, free: 13.95 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.7168, allocations: 83.31 kB / 1.516 GB, free: 13.87 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.7193, allocations: 0.7532 MB / 1.517 GB, free: 13.11 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.008742/0.728, allocations: 2.924 MB / 1.52 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004922/0.7329, allocations: 1.416 MB / 1.521 GB, free: 8.77 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007766/0.7407, allocations: 4.139 MB / 1.525 GB, free: 4.613 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.7429, allocations: 0.9935 MB / 1.526 GB, free: 3.586 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.7477, allocations: 1.884 MB / 1.528 GB, free: 1.695 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/0.7513, allocations: 1.252 MB / 1.529 GB, free: 456 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003644/0.7517, allocations: 144 kB / 1.529 GB, free: 312 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005317/0.757, allocations: 1.94 MB / 1.531 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008933/0.7579, allocations: 0.6309 MB / 1.532 GB, free: 13.73 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.7594, allocations: 0.7119 MB / 1.533 GB, free: 13.01 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.7653, allocations: 2.951 MB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7653, allocations: 4 kB / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7653, allocations: 0 / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.467e-05/0.7654, allocations: 0 / 1.536 GB, free: 10.05 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003643/0.769, allocations: 1.865 MB / 1.537 GB, free: 8.141 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.769, allocations: 12.03 kB / 1.537 GB, free: 8.129 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.7723, allocations: 0.4908 MB / 1.538 GB, free: 7.637 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.7749, allocations: 1.053 MB / 1.539 GB, free: 6.547 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.936e-05/0.775, allocations: 78.14 kB / 1.539 GB, free: 6.469 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.7752, allocations: 115.9 kB / 1.539 GB, free: 6.355 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.7778, allocations: 1.609 MB / 1.541 GB, free: 4.605 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.7779, allocations: 11.86 kB / 1.541 GB, free: 4.594 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.778, allocations: 48 kB / 1.541 GB, free: 4.547 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.778, allocations: 42.12 kB / 1.541 GB, free: 4.504 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.7799, allocations: 1.066 MB / 1.542 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/0.7859, allocations: 2.701 MB / 1.544 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.7873, allocations: 0.7512 MB / 1.545 GB, free: 15.92 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006919/0.788, allocations: 458.2 kB / 1.546 GB, free: 15.47 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.7883, allocations: 68.89 kB / 1.546 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.7884, allocations: 43.56 kB / 1.546 GB, free: 15.35 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.856e-06/0.7884, allocations: 0 / 1.546 GB, free: 15.35 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005908/0.7943, allocations: 2.613 MB / 1.548 GB, free: 12.7 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.7943, allocations: 68.34 kB / 1.548 GB, free: 12.62 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.7954, allocations: 0.7436 MB / 1.549 GB, free: 11.87 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.7955, allocations: 49.7 kB / 1.549 GB, free: 11.81 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.796, allocations: 0.5555 MB / 1.55 GB, free: 11.25 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.7963, allocations: 333 kB / 1.55 GB, free: 10.93 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.7966, allocations: 158.6 kB / 1.55 GB, free: 10.77 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.7968, allocations: 341.9 kB / 1.55 GB, free: 10.43 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.7974, allocations: 341.8 kB / 1.551 GB, free: 10.09 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.7982, allocations: 0.575 MB / 1.551 GB, free: 9.453 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006457/0.8047, allocations: 2.804 MB / 1.554 GB, free: 6.621 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8047, allocations: 0 / 1.554 GB, free: 6.621 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001793/0.8064, allocations: 1 MB / 1.555 GB, free: 5.613 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.8065, allocations: 11.94 kB / 1.555 GB, free: 5.602 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.8065, allocations: 0 / 1.555 GB, free: 5.602 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8065, allocations: 11.94 kB / 1.555 GB, free: 5.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.8073, allocations: 183.7 kB / 1.555 GB, free: 5.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.8073, allocations: 8 kB / 1.555 GB, free: 5.402 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/0.8083, allocations: 23.98 kB / 1.555 GB, free: 5.379 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-05/0.8084, allocations: 32.28 kB / 1.555 GB, free: 5.348 MB / 1.248 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0006847/0.809, allocations: 388.1 kB / 1.556 GB, free: 4.961 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.8092, allocations: 119.2 kB / 1.556 GB, free: 4.844 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.8095, allocations: 130.4 kB / 1.556 GB, free: 4.707 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8095, allocations: 8 kB / 1.556 GB, free: 4.699 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.8095, allocations: 0 / 1.556 GB, free: 4.699 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/0.8113, allocations: 1.094 MB / 1.557 GB, free: 3.535 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.8162, allocations: 2.681 MB / 1.56 GB, free: 0.6914 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8162, allocations: 8 kB / 1.56 GB, free: 0.6836 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/0.817, allocations: 171.7 kB / 1.56 GB, free: 0.5156 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.8173, allocations: 93.66 kB / 1.56 GB, free: 428 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.8174, allocations: 28 kB / 1.56 GB, free: 400 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.8203, allocations: 2.841 MB / 1.563 GB, free: 13.34 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.8203, allocations: 11.94 kB / 1.563 GB, free: 13.33 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.823, allocations: 1.725 MB / 1.564 GB, free: 11.47 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.8237, allocations: 215.2 kB / 1.565 GB, free: 11.26 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.8238, allocations: 31.98 kB / 1.565 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008619/0.8247, allocations: 37.48 kB / 1.565 GB, free: 11.19 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.8248, allocations: 88.08 kB / 1.565 GB, free: 11.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.021e-05/0.8249, allocations: 43.98 kB / 1.565 GB, free: 11.06 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007693/0.8257, allocations: 0.5107 MB / 1.565 GB, free: 10.55 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.8257, allocations: 4 kB / 1.565 GB, free: 10.55 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0012/0.8269, allocations: 375.9 kB / 1.566 GB, free: 10.18 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004202/0.8273, allocations: 225.8 kB / 1.566 GB, free: 9.957 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.8288, allocations: 0.8089 MB / 1.567 GB, free: 9.152 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8288, allocations: 0 / 1.567 GB, free: 9.152 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8298, allocations: 0.6574 MB / 1.567 GB, free: 8.469 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/0.8331, allocations: 0.7298 MB / 1.568 GB, free: 7.758 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004627/0.8378, allocations: 2.775 MB / 1.571 GB, free: 4.832 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.8386, allocations: 0.6564 MB / 1.571 GB, free: 4.141 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001126/0.8397, allocations: 309 kB / 1.572 GB, free: 3.836 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.84, allocations: 91.44 kB / 1.572 GB, free: 3.746 MB / 1.264 GB Notification: Performance of SimCode: time 9.02e-07/0.84, allocations: 0 / 1.572 GB, free: 3.746 MB / 1.264 GB Notification: Performance of Templates: time 0.04808/0.8881, allocations: 26.96 MB / 1.598 GB, free: 9.379 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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: 12.035094019025564]