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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 108.2 kB / 17.08 MB, free: 5.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.2 kB / 20.03 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 489.2 MB / 0.7687 GB, free: 3.797 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.88 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8615, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2536/1.115, allocations: 210 MB / 1.468 GB, free: 6.008 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0168/1.132, allocations: 9.887 MB / 1.477 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/1.135, allocations: 59.62 kB / 1.477 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/1.137, allocations: 0.7687 MB / 1.478 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008587/1.146, allocations: 2.812 MB / 1.481 GB, free: 8.449 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004322/1.15, allocations: 1.386 MB / 1.482 GB, free: 7.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006698/1.157, allocations: 4.072 MB / 1.486 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/1.159, allocations: 1.325 MB / 1.488 GB, free: 1.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004569/1.164, allocations: 1.756 MB / 1.489 GB, free: 15.86 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/1.167, allocations: 1.208 MB / 1.49 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004436/1.168, allocations: 144 kB / 1.491 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/1.174, allocations: 2.366 MB / 1.493 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/1.175, allocations: 0.6 MB / 1.493 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/1.177, allocations: 0.8595 MB / 1.494 GB, free: 10.68 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007559/1.184, allocations: 3.014 MB / 1.497 GB, free: 7.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.184, allocations: 7.938 kB / 1.497 GB, free: 7.652 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/1.184, allocations: 0 / 1.497 GB, free: 7.652 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.693e-05/1.184, allocations: 4 kB / 1.497 GB, free: 7.648 MB / 1.186 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.003702/1.188, allocations: 1.941 MB / 1.499 GB, free: 5.648 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.188, allocations: 8.031 kB / 1.499 GB, free: 5.641 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/1.191, allocations: 498.5 kB / 1.5 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/1.194, allocations: 1.133 MB / 1.501 GB, free: 3.977 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-05/1.194, allocations: 86.14 kB / 1.501 GB, free: 3.891 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/1.194, allocations: 112 kB / 1.501 GB, free: 3.781 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/1.196, allocations: 1.149 MB / 1.502 GB, free: 2.602 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.196, allocations: 11.83 kB / 1.502 GB, free: 2.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.196, allocations: 48 kB / 1.502 GB, free: 2.543 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/1.196, allocations: 42.12 kB / 1.502 GB, free: 2.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.198, allocations: 1.078 MB / 1.503 GB, free: 1.414 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006708/1.205, allocations: 4.431 MB / 1.507 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.206, allocations: 0.7819 MB / 1.508 GB, free: 11.85 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/1.207, allocations: 490.7 kB / 1.509 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/1.207, allocations: 296.3 kB / 1.509 GB, free: 11.03 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.207, allocations: 43.56 kB / 1.509 GB, free: 10.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/1.207, allocations: 4 kB / 1.509 GB, free: 10.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=89): time 0.005955/1.213, allocations: 2.866 MB / 1.512 GB, free: 8.023 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.213, allocations: 60.41 kB / 1.512 GB, free: 7.953 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.215, allocations: 0.9832 MB / 1.513 GB, free: 6.953 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.215, allocations: 41.7 kB / 1.513 GB, free: 6.906 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/1.215, allocations: 0.5482 MB / 1.513 GB, free: 6.352 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/1.216, allocations: 325.2 kB / 1.514 GB, free: 6.031 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/1.216, allocations: 158.6 kB / 1.514 GB, free: 5.871 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.216, allocations: 353.9 kB / 1.514 GB, free: 5.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/1.217, allocations: 337.8 kB / 1.515 GB, free: 5.188 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/1.217, allocations: 485.9 kB / 1.515 GB, free: 4.672 MB / 1.201 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.006335/1.224, allocations: 3.04 MB / 1.518 GB, free: 1.547 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.224, allocations: 0 / 1.518 GB, free: 1.547 MB / 1.201 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001788/1.226, allocations: 1.016 MB / 1.519 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.226, allocations: 8.359 kB / 1.519 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.226, allocations: 8 kB / 1.519 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.226, allocations: 8 kB / 1.519 GB, free: 0.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/1.226, allocations: 179.7 kB / 1.519 GB, free: 332 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.226, allocations: 4 kB / 1.519 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.227, allocations: 31.94 kB / 1.519 GB, free: 296 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/1.228, allocations: 31.98 kB / 1.519 GB, free: 264 kB / 1.201 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.0006676/1.228, allocations: 373.6 kB / 1.52 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/1.228, allocations: 139.1 kB / 1.52 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/1.229, allocations: 148.3 kB / 1.52 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.229, allocations: 12 kB / 1.52 GB, free: 15.58 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.229, allocations: 0 / 1.52 GB, free: 15.58 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/1.23, allocations: 1.098 MB / 1.521 GB, free: 14.41 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/1.235, allocations: 3.044 MB / 1.524 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.236, allocations: 8 kB / 1.524 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/1.236, allocations: 171.8 kB / 1.524 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003543/1.237, allocations: 97.64 kB / 1.524 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/1.237, allocations: 28 kB / 1.524 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/1.239, allocations: 3.09 MB / 1.527 GB, free: 7.516 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-05/1.239, allocations: 16.12 kB / 1.527 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/1.242, allocations: 1.746 MB / 1.529 GB, free: 5.617 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/1.243, allocations: 312.2 kB / 1.529 GB, free: 5.293 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.243, allocations: 39.92 kB / 1.529 GB, free: 5.254 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/1.244, allocations: 31.98 kB / 1.529 GB, free: 5.223 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/1.244, allocations: 88.11 kB / 1.529 GB, free: 5.137 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/1.244, allocations: 51.97 kB / 1.529 GB, free: 5.086 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009715/1.245, allocations: 0.6956 MB / 1.53 GB, free: 4.383 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.7e-07/1.245, allocations: 0 / 1.53 GB, free: 4.383 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001083/1.246, allocations: 372 kB / 1.531 GB, free: 4.02 MB / 1.217 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.0005832/1.247, allocations: 250.9 kB / 1.531 GB, free: 3.777 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001509/1.248, allocations: 0.8437 MB / 1.532 GB, free: 2.934 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.248, allocations: 7.906 kB / 1.532 GB, free: 2.926 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/1.249, allocations: 0.6777 MB / 1.532 GB, free: 2.227 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/1.254, allocations: 0.9078 MB / 1.533 GB, free: 1.336 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/1.258, allocations: 2.881 MB / 1.536 GB, free: 14.29 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/1.259, allocations: 1.249 MB / 1.537 GB, free: 13.02 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/1.259, allocations: 103.4 kB / 1.537 GB, free: 12.91 MB / 1.232 GB Notification: Performance of SimCode: time 7.52e-07/1.259, allocations: 0 / 1.537 GB, free: 12.91 MB / 1.232 GB Notification: Performance of Templates: time 0.03827/1.298, allocations: 27.25 MB / 1.564 GB, free: 1.793 MB / 1.248 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_2/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.765936031006277]