Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001499/0.001499, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001677/0.001677, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.96/2.96, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001974/0.001974, allocations: 69.89 kB / 1.178 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2226/0.5419, allocations: 214.2 MB / 1.563 GB, free: 0.9492 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.5561, allocations: 9.948 MB / 1.573 GB, free: 6.984 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.5578, allocations: 87.25 kB / 1.573 GB, free: 6.898 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.5598, allocations: 0.8078 MB / 1.574 GB, free: 6.086 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.006788/0.5666, allocations: 2.98 MB / 1.577 GB, free: 3.094 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.5701, allocations: 1.452 MB / 1.578 GB, free: 1.648 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005682/0.5758, allocations: 4.201 MB / 1.582 GB, free: 13.43 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.5774, allocations: 0.9859 MB / 1.583 GB, free: 12.41 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.581, allocations: 1.869 MB / 1.585 GB, free: 10.54 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.5839, allocations: 1.311 MB / 1.586 GB, free: 9.23 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.5842, allocations: 144 kB / 1.587 GB, free: 9.09 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.5891, allocations: 2.545 MB / 1.589 GB, free: 6.539 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0007664/0.5898, allocations: 0.627 MB / 1.59 GB, free: 5.91 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.591, allocations: 0.8595 MB / 1.59 GB, free: 5.047 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.5961, allocations: 3.014 MB / 1.593 GB, free: 2.023 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5961, allocations: 3.938 kB / 1.593 GB, free: 2.02 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5961, allocations: 0 / 1.593 GB, free: 2.02 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.055e-05/0.5962, allocations: 4 kB / 1.593 GB, free: 2.016 MB / 1.279 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.003077/0.5993, allocations: 1.869 MB / 1.595 GB, free: 108 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5993, allocations: 8.031 kB / 1.595 GB, free: 100 kB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.6023, allocations: 494.5 kB / 1.596 GB, free: 15.61 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.6043, allocations: 1.053 MB / 1.597 GB, free: 14.52 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.6044, allocations: 86.12 kB / 1.597 GB, free: 14.43 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.6045, allocations: 115.9 kB / 1.597 GB, free: 14.32 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.6064, allocations: 1.149 MB / 1.598 GB, free: 13.14 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.6064, allocations: 7.875 kB / 1.598 GB, free: 13.13 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.6066, allocations: 48 kB / 1.598 GB, free: 13.09 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.915e-05/0.6066, allocations: 42.12 kB / 1.598 GB, free: 13.04 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6083, allocations: 1.078 MB / 1.599 GB, free: 11.96 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006044/0.6143, allocations: 4.365 MB / 1.603 GB, free: 7.262 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.6155, allocations: 0.7698 MB / 1.604 GB, free: 6.484 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.6161, allocations: 458.2 kB / 1.605 GB, free: 6.035 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.6164, allocations: 60.95 kB / 1.605 GB, free: 5.977 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.6164, allocations: 43.84 kB / 1.605 GB, free: 5.926 MB / 1.295 GB Notification: Performance of pre-optimization done (n=83): time 2.725e-06/0.6164, allocations: 4 kB / 1.605 GB, free: 5.922 MB / 1.295 GB Notification: Performance of matching and sorting (n=89): time 0.005188/0.6216, allocations: 2.636 MB / 1.607 GB, free: 3.254 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.6217, allocations: 64.41 kB / 1.607 GB, free: 3.18 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.6228, allocations: 0.9754 MB / 1.608 GB, free: 2.188 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.6229, allocations: 45.7 kB / 1.608 GB, free: 2.137 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.6233, allocations: 0.5442 MB / 1.609 GB, free: 1.586 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.6236, allocations: 329.2 kB / 1.609 GB, free: 1.262 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.6239, allocations: 158.6 kB / 1.609 GB, free: 1.102 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.624, allocations: 345.9 kB / 1.61 GB, free: 0.7578 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.6245, allocations: 341.8 kB / 1.61 GB, free: 432 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6045/1.229, allocations: 477.6 kB / 1.61 GB, free: 256.3 MB / 1.295 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.005986/1.235, allocations: 2.81 MB / 1.613 GB, free: 256.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.235, allocations: 1.312 kB / 1.613 GB, free: 256.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001539/1.237, allocations: 1.018 MB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.237, allocations: 11.91 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.237, allocations: 3.156 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.237, allocations: 7.688 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/1.237, allocations: 179.1 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/1.237, allocations: 7 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/1.238, allocations: 29.75 kB / 1.614 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/1.238, allocations: 34.33 kB / 1.614 GB, free: 255.9 MB / 1.295 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.0005359/1.239, allocations: 385.1 kB / 1.615 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/1.239, allocations: 136 kB / 1.615 GB, free: 255.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/1.239, allocations: 148.2 kB / 1.615 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.239, allocations: 8.656 kB / 1.615 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.239, allocations: 1.031 kB / 1.615 GB, free: 255.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/1.241, allocations: 1.094 MB / 1.616 GB, free: 254.9 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/1.246, allocations: 3.012 MB / 1.619 GB, free: 253.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.246, allocations: 9.375 kB / 1.619 GB, free: 253.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/1.246, allocations: 165.8 kB / 1.619 GB, free: 253.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003095/1.247, allocations: 99.14 kB / 1.619 GB, free: 253.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/1.247, allocations: 29.95 kB / 1.619 GB, free: 253.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/1.248, allocations: 2.891 MB / 1.622 GB, free: 250.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.248, allocations: 16.31 kB / 1.622 GB, free: 250.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/1.251, allocations: 1.744 MB / 1.624 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/1.251, allocations: 239.2 kB / 1.624 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.251, allocations: 30.83 kB / 1.624 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008095/1.252, allocations: 39.11 kB / 1.624 GB, free: 249.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.252, allocations: 94.17 kB / 1.624 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/1.252, allocations: 46.7 kB / 1.624 GB, free: 249.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009272/1.253, allocations: 0.6948 MB / 1.625 GB, free: 249.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.253, allocations: 1.125 kB / 1.625 GB, free: 249.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001361/1.255, allocations: 373.4 kB / 1.625 GB, free: 249.2 MB / 1.295 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.0003856/1.255, allocations: 221.5 kB / 1.626 GB, free: 249.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.257, allocations: 0.8116 MB / 1.626 GB, free: 248.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.257, allocations: 2.844 kB / 1.626 GB, free: 248.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009908/1.258, allocations: 0.6639 MB / 1.627 GB, free: 248.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.261, allocations: 0.9297 MB / 1.628 GB, free: 248.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/1.265, allocations: 2.874 MB / 1.631 GB, free: 246.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/1.266, allocations: 1.249 MB / 1.632 GB, free: 245.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/1.266, allocations: 101.9 kB / 1.632 GB, free: 245.8 MB / 1.295 GB Notification: Performance of SimCode: time 6.61e-07/1.266, allocations: 0 / 1.632 GB, free: 245.8 MB / 1.295 GB Notification: Performance of Templates: time 0.03472/1.301, allocations: 27.36 MB / 1.659 GB, free: 235.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.031627377989935]