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.002348/0.002348, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002778/0.002778, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.408/3.408, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 0.8775 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.749e-05, allocations: 2.312 kB / 0.8775 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7678/0.7678, allocations: 207.5 MB / 1.08 GB, free: 18.1 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01541/0.7832, allocations: 10.09 MB / 1.09 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.7858, allocations: 82.41 kB / 1.09 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.788, allocations: 0.7592 MB / 1.091 GB, free: 17.77 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.7957, allocations: 2.996 MB / 1.094 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.7992, allocations: 1.458 MB / 1.095 GB, free: 17.16 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005209/0.8044, allocations: 4.155 MB / 1.099 GB, free: 16.2 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.8058, allocations: 1.017 MB / 1.1 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.8097, allocations: 2.326 MB / 1.102 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.8124, allocations: 1.2 MB / 1.104 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.8127, allocations: 144 kB / 1.104 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.8169, allocations: 1.972 MB / 1.106 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.8174, allocations: 0.6744 MB / 1.106 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.8182, allocations: 0.6154 MB / 1.107 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.8227, allocations: 3.066 MB / 1.11 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8227, allocations: 1.062 kB / 1.11 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8227, allocations: 3.938 kB / 1.11 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.8227, allocations: 0 / 1.11 GB, free: 12.69 MB / 0.9323 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.003067/0.8258, allocations: 2.071 MB / 1.112 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.8258, allocations: 9.594 kB / 1.112 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003052/0.8289, allocations: 0.6269 MB / 1.113 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.8308, allocations: 1.085 MB / 1.114 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.8308, allocations: 81.67 kB / 1.114 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.831, allocations: 116.7 kB / 1.114 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.8326, allocations: 1.357 MB / 1.115 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.8326, allocations: 4 kB / 1.115 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.8327, allocations: 49.03 kB / 1.115 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.8328, allocations: 40.73 kB / 1.115 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.834, allocations: 0.7345 MB / 1.116 GB, free: 9.406 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.8391, allocations: 3.152 MB / 1.119 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.84, allocations: 0.5774 MB / 1.12 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.8404, allocations: 324.5 kB / 1.12 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/0.8407, allocations: 66.11 kB / 1.12 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.8407, allocations: 51.02 kB / 1.12 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=83): time 2.525e-06/0.8407, allocations: 3.938 kB / 1.12 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.004708/0.8454, allocations: 2.116 MB / 1.122 GB, free: 6.562 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.8455, allocations: 64.62 kB / 1.122 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.8463, allocations: 0.9155 MB / 1.123 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.8464, allocations: 45.14 kB / 1.123 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.8467, allocations: 0.6532 MB / 1.124 GB, free: 5.512 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.8469, allocations: 355.3 kB / 1.124 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.8472, allocations: 198.2 kB / 1.124 GB, free: 5.137 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8473, allocations: 0.551 MB / 1.125 GB, free: 4.617 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.8477, allocations: 207.7 kB / 1.125 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.8481, allocations: 0.5111 MB / 1.125 GB, free: 4.176 MB / 0.9323 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.004927/0.8531, allocations: 2.121 MB / 1.128 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8531, allocations: 0 / 1.128 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001354/0.8544, allocations: 0.7913 MB / 1.128 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8544, allocations: 7.031 kB / 1.128 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.8545, allocations: 0 / 1.128 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.8545, allocations: 8 kB / 1.128 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.8552, allocations: 179.4 kB / 1.128 GB, free: 3.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.8552, allocations: 9.828 kB / 1.129 GB, free: 3.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.8562, allocations: 33.64 kB / 1.129 GB, free: 3.137 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.8563, allocations: 32.83 kB / 1.129 GB, free: 3.129 MB / 0.9323 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.000507/0.8568, allocations: 330.9 kB / 1.129 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.857, allocations: 142.5 kB / 1.129 GB, free: 2.812 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.8573, allocations: 126.2 kB / 1.129 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8573, allocations: 9.688 kB / 1.129 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/0.8573, allocations: 0 / 1.129 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.8584, allocations: 0.8621 MB / 1.13 GB, free: 2.168 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.8626, allocations: 2.673 MB / 1.133 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8626, allocations: 9.312 kB / 1.133 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.8633, allocations: 172.7 kB / 1.133 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/0.8637, allocations: 107.8 kB / 1.133 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.8638, allocations: 37.91 kB / 1.133 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.867, allocations: 3.766 MB / 1.137 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.867, allocations: 15.09 kB / 1.137 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.8695, allocations: 1.528 MB / 1.138 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/0.8701, allocations: 204.1 kB / 1.138 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.8702, allocations: 32.91 kB / 1.138 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/0.8711, allocations: 39.23 kB / 1.138 GB, free: 11.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.8712, allocations: 98.86 kB / 1.138 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.8713, allocations: 43.88 kB / 1.138 GB, free: 11.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007018/0.872, allocations: 0.5556 MB / 1.139 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.872, allocations: 2.375 kB / 1.139 GB, free: 11.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001126/0.8731, allocations: 381.5 kB / 1.139 GB, free: 11.42 MB / 0.948 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.0004088/0.8735, allocations: 224.4 kB / 1.14 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.8746, allocations: 0.6451 MB / 1.14 GB, free: 11.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.8747, allocations: 3.375 kB / 1.14 GB, free: 11.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.8756, allocations: 0.7172 MB / 1.141 GB, free: 10.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/0.8791, allocations: 0.7358 MB / 1.142 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.8832, allocations: 2.588 MB / 1.144 GB, free: 8.711 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.8839, allocations: 0.6363 MB / 1.145 GB, free: 8.441 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001058/0.8849, allocations: 265.1 kB / 1.145 GB, free: 8.305 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.8852, allocations: 89.52 kB / 1.145 GB, free: 8.293 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/0.8852, allocations: 0 / 1.145 GB, free: 8.293 MB / 0.948 GB Notification: Performance of Templates: time 0.04697/0.9321, allocations: 25.05 MB / 1.17 GB, free: 6.484 MB / 0.9636 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/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: 10.317879172973335]