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.001536/0.001536, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001702/0.001702, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.095/3.095, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.00198/0.00198, allocations: 68.95 kB / 1.155 GB, free: 25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.322, allocations: 176.1 MB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2368/0.5588, allocations: 186 MB / 1.509 GB, free: 6.188 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.5748, allocations: 9.29 MB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.5766, allocations: 83.31 kB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.5787, allocations: 0.7493 MB / 1.519 GB, free: 12.04 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00771/0.5865, allocations: 2.922 MB / 1.521 GB, free: 9.109 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.5903, allocations: 1.416 MB / 1.523 GB, free: 7.699 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005892/0.5962, allocations: 4.143 MB / 1.527 GB, free: 3.539 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.5979, allocations: 0.9896 MB / 1.528 GB, free: 2.516 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.6018, allocations: 1.876 MB / 1.53 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.6047, allocations: 1.256 MB / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.6049, allocations: 144 kB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/0.6093, allocations: 1.944 MB / 1.533 GB, free: 13.29 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008101/0.6101, allocations: 0.6232 MB / 1.534 GB, free: 12.66 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.6112, allocations: 0.7197 MB / 1.534 GB, free: 11.94 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.6161, allocations: 2.955 MB / 1.537 GB, free: 8.977 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6162, allocations: 4 kB / 1.537 GB, free: 8.973 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6162, allocations: 4 kB / 1.537 GB, free: 8.969 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.6162, allocations: 0 / 1.537 GB, free: 8.969 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.003381/0.6196, allocations: 1.858 MB / 1.539 GB, free: 7.07 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6196, allocations: 8.031 kB / 1.539 GB, free: 7.062 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.6228, allocations: 0.4946 MB / 1.539 GB, free: 6.566 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.625, allocations: 1.057 MB / 1.541 GB, free: 5.473 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.6251, allocations: 90.08 kB / 1.541 GB, free: 5.383 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.6253, allocations: 119.9 kB / 1.541 GB, free: 5.266 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/0.6277, allocations: 1.601 MB / 1.542 GB, free: 3.523 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.6277, allocations: 3.938 kB / 1.542 GB, free: 3.52 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.6278, allocations: 48 kB / 1.542 GB, free: 3.473 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.6279, allocations: 38.14 kB / 1.542 GB, free: 3.434 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.6297, allocations: 1.07 MB / 1.543 GB, free: 2.355 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.6354, allocations: 2.69 MB / 1.546 GB, free: 15.62 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6367, allocations: 0.7591 MB / 1.547 GB, free: 14.85 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.6374, allocations: 454.2 kB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.6377, allocations: 68.89 kB / 1.547 GB, free: 14.34 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.6378, allocations: 47.56 kB / 1.547 GB, free: 14.28 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.695e-06/0.6378, allocations: 0 / 1.547 GB, free: 14.28 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.00578/0.6435, allocations: 2.617 MB / 1.55 GB, free: 11.64 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.6436, allocations: 60.41 kB / 1.55 GB, free: 11.56 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.6446, allocations: 0.7514 MB / 1.551 GB, free: 10.8 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.6447, allocations: 41.7 kB / 1.551 GB, free: 10.75 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.6452, allocations: 0.5709 MB / 1.551 GB, free: 10.18 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.6456, allocations: 325.1 kB / 1.552 GB, free: 9.855 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.6458, allocations: 158.6 kB / 1.552 GB, free: 9.695 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.646, allocations: 334 kB / 1.552 GB, free: 9.363 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.6465, allocations: 345.8 kB / 1.552 GB, free: 9.027 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/0.6473, allocations: 0.5827 MB / 1.553 GB, free: 8.375 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.006261/0.6536, allocations: 2.803 MB / 1.556 GB, free: 5.547 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6536, allocations: 4 kB / 1.556 GB, free: 5.543 MB / 1.248 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001747/0.6553, allocations: 0.9929 MB / 1.557 GB, free: 4.539 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.6553, allocations: 11.94 kB / 1.557 GB, free: 4.527 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6554, allocations: 7.984 kB / 1.557 GB, free: 4.52 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.6554, allocations: 4 kB / 1.557 GB, free: 4.516 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.6561, allocations: 183.7 kB / 1.557 GB, free: 4.336 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.6562, allocations: 11.94 kB / 1.557 GB, free: 4.324 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009996/0.6572, allocations: 23.98 kB / 1.557 GB, free: 4.301 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.6572, allocations: 36 kB / 1.557 GB, free: 4.266 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.0006839/0.6579, allocations: 383.4 kB / 1.557 GB, free: 3.883 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.6582, allocations: 119.2 kB / 1.557 GB, free: 3.766 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.6584, allocations: 134.4 kB / 1.558 GB, free: 3.625 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.6584, allocations: 8 kB / 1.558 GB, free: 3.617 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.6585, allocations: 0 / 1.558 GB, free: 3.617 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/0.6601, allocations: 1.094 MB / 1.559 GB, free: 2.453 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.6652, allocations: 2.681 MB / 1.561 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6652, allocations: 8.188 kB / 1.561 GB, free: 15.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/0.6659, allocations: 171.7 kB / 1.561 GB, free: 15.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/0.6662, allocations: 93.66 kB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.6663, allocations: 31.94 kB / 1.562 GB, free: 15.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.6691, allocations: 2.834 MB / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.6691, allocations: 11.94 kB / 1.564 GB, free: 12.25 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.6718, allocations: 1.729 MB / 1.566 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.6724, allocations: 211.2 kB / 1.566 GB, free: 10.18 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6725, allocations: 31.98 kB / 1.566 GB, free: 10.15 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/0.6734, allocations: 47.27 kB / 1.566 GB, free: 10.11 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6736, allocations: 88.08 kB / 1.566 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.6736, allocations: 43.98 kB / 1.566 GB, free: 9.977 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000732/0.6744, allocations: 0.5107 MB / 1.567 GB, free: 9.473 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6744, allocations: 0 / 1.567 GB, free: 9.473 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001162/0.6755, allocations: 376 kB / 1.567 GB, free: 9.105 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.0004039/0.6759, allocations: 222.9 kB / 1.567 GB, free: 8.887 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.6774, allocations: 0.8082 MB / 1.568 GB, free: 8.078 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.6774, allocations: 7.938 kB / 1.568 GB, free: 8.07 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.6783, allocations: 0.6546 MB / 1.569 GB, free: 7.391 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.6817, allocations: 0.7315 MB / 1.57 GB, free: 6.676 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.6863, allocations: 2.832 MB / 1.572 GB, free: 3.688 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.6871, allocations: 0.6603 MB / 1.573 GB, free: 2.992 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.6875, allocations: 95.44 kB / 1.573 GB, free: 2.898 MB / 1.264 GB Notification: Performance of SimCode: time 1.142e-06/0.6875, allocations: 0 / 1.573 GB, free: 2.898 MB / 1.264 GB Notification: Performance of Templates: time 0.03767/0.7252, allocations: 25.43 MB / 1.598 GB, free: 9.574 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/jenkins1/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: 15.657965396065265]