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.001478/0.001478, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.001586/0.001586, allocations: 220.5 kB / 22.26 MB, free: 5.211 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 8 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 3.046/3.046, allocations: 0.5096 GB / 0.8147 GB, free: 17.23 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.002013/0.002013, allocations: 72.38 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3006, allocations: 181.4 MB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2346/0.5351, allocations: 214.2 MB / 1.571 GB, free: 9.121 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.5505, allocations: 9.949 MB / 1.58 GB, free: 15.15 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.5523, allocations: 83.31 kB / 1.58 GB, free: 15.07 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.5545, allocations: 0.8116 MB / 1.581 GB, free: 14.25 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.006736/0.5612, allocations: 2.97 MB / 1.584 GB, free: 11.27 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.5647, allocations: 1.456 MB / 1.586 GB, free: 9.824 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.5704, allocations: 4.204 MB / 1.59 GB, free: 5.609 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.5721, allocations: 0.9936 MB / 1.591 GB, free: 4.578 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.5758, allocations: 1.865 MB / 1.592 GB, free: 2.707 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.5787, allocations: 1.317 MB / 1.594 GB, free: 1.391 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0003491/0.579, allocations: 144 kB / 1.594 GB, free: 1.25 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.5839, allocations: 2.545 MB / 1.596 GB, free: 14.7 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.5847, allocations: 0.6193 MB / 1.597 GB, free: 14.08 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.5861, allocations: 0.8556 MB / 1.598 GB, free: 13.22 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.591, allocations: 3.018 MB / 1.601 GB, free: 10.19 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.591, allocations: 4 kB / 1.601 GB, free: 10.19 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.142e-06/0.591, allocations: 3.938 kB / 1.601 GB, free: 10.18 MB / 1.295 GB Notification: Performance of Transformations before backend: time 5.022e-05/0.5911, allocations: 0 / 1.601 GB, free: 10.18 MB / 1.295 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.003453/0.5945, allocations: 1.869 MB / 1.603 GB, free: 8.273 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5946, allocations: 8.031 kB / 1.603 GB, free: 8.266 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.5976, allocations: 498.5 kB / 1.603 GB, free: 7.777 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.5997, allocations: 1.057 MB / 1.604 GB, free: 6.684 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.5998, allocations: 78.14 kB / 1.604 GB, free: 6.605 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6, allocations: 108 kB / 1.604 GB, free: 6.5 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.6019, allocations: 1.157 MB / 1.605 GB, free: 5.312 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.6019, allocations: 3.938 kB / 1.605 GB, free: 5.309 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6021, allocations: 51.92 kB / 1.605 GB, free: 5.258 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.6021, allocations: 38.14 kB / 1.605 GB, free: 5.219 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.6038, allocations: 1.078 MB / 1.607 GB, free: 4.133 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6538/1.258, allocations: 4.36 MB / 1.611 GB, free: 25.29 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/1.259, allocations: 0.7536 MB / 1.612 GB, free: 25.26 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/1.26, allocations: 456.3 kB / 1.612 GB, free: 25.25 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/1.26, allocations: 64.73 kB / 1.612 GB, free: 25.25 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.26, allocations: 49.48 kB / 1.612 GB, free: 25.21 MB / 1.295 GB Notification: Performance of pre-optimization done (n=83): time 2.235e-06/1.26, allocations: 0.625 kB / 1.612 GB, free: 25.21 MB / 1.295 GB Notification: Performance of matching and sorting (n=89): time 0.005671/1.266, allocations: 2.637 MB / 1.615 GB, free: 24.91 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.266, allocations: 60.75 kB / 1.615 GB, free: 24.84 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.267, allocations: 0.9796 MB / 1.616 GB, free: 24.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.267, allocations: 42.61 kB / 1.616 GB, free: 24.66 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/1.268, allocations: 0.5488 MB / 1.616 GB, free: 24.5 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.268, allocations: 328.4 kB / 1.617 GB, free: 24.32 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/1.268, allocations: 159.4 kB / 1.617 GB, free: 24.3 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/1.268, allocations: 341.3 kB / 1.617 GB, free: 24 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.269, allocations: 346.3 kB / 1.617 GB, free: 24 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/1.27, allocations: 484.6 kB / 1.618 GB, free: 23.89 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.00598/1.276, allocations: 2.808 MB / 1.621 GB, free: 23.75 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.276, allocations: 2.219 kB / 1.621 GB, free: 23.75 MB / 1.295 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001444/1.277, allocations: 1.017 MB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.277, allocations: 7.203 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.277, allocations: 4.406 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.277, allocations: 6.5 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/1.278, allocations: 183.9 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.278, allocations: 13.77 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009423/1.279, allocations: 35.39 kB / 1.622 GB, free: 23.63 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/1.279, allocations: 34.16 kB / 1.622 GB, free: 23.63 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.0005513/1.279, allocations: 374.9 kB / 1.622 GB, free: 23.52 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/1.28, allocations: 136 kB / 1.622 GB, free: 23.45 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/1.28, allocations: 148.3 kB / 1.622 GB, free: 23.43 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.28, allocations: 8.75 kB / 1.622 GB, free: 23.43 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/1.28, allocations: 2.281 kB / 1.622 GB, free: 23.43 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/1.281, allocations: 1.093 MB / 1.624 GB, free: 23.05 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/1.286, allocations: 3.012 MB / 1.626 GB, free: 22.44 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/1.286, allocations: 9.703 kB / 1.627 GB, free: 22.44 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/1.287, allocations: 166 kB / 1.627 GB, free: 22.44 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/1.287, allocations: 103.2 kB / 1.627 GB, free: 22.42 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/1.287, allocations: 27.78 kB / 1.627 GB, free: 22.42 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.289, allocations: 2.885 MB / 1.63 GB, free: 19.99 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.289, allocations: 12.84 kB / 1.63 GB, free: 19.99 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.291, allocations: 1.745 MB / 1.631 GB, free: 19.43 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/1.292, allocations: 235.2 kB / 1.632 GB, free: 19.36 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/1.292, allocations: 27.83 kB / 1.632 GB, free: 19.36 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/1.293, allocations: 46.66 kB / 1.632 GB, free: 19.36 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.293, allocations: 88.09 kB / 1.632 GB, free: 19.36 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.743e-05/1.294, allocations: 49.56 kB / 1.632 GB, free: 19.36 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009885/1.295, allocations: 0.6945 MB / 1.632 GB, free: 19.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.295, allocations: 0.875 kB / 1.632 GB, free: 19.25 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001162/1.296, allocations: 374.9 kB / 1.633 GB, free: 19.25 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.0003485/1.296, allocations: 227.8 kB / 1.633 GB, free: 19.16 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001356/1.297, allocations: 0.8183 MB / 1.634 GB, free: 19.13 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.297, allocations: 3.75 kB / 1.634 GB, free: 19.13 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/1.298, allocations: 0.6576 MB / 1.634 GB, free: 18.91 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003945/1.302, allocations: 0.926 MB / 1.635 GB, free: 18.83 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/1.306, allocations: 2.821 MB / 1.638 GB, free: 17.64 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/1.307, allocations: 1.247 MB / 1.639 GB, free: 16.93 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001223/1.308, allocations: 345.6 kB / 1.64 GB, free: 16.88 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/1.309, allocations: 101.8 kB / 1.64 GB, free: 16.88 MB / 1.295 GB Notification: Performance of SimCode: time 5.81e-07/1.309, allocations: 0 / 1.64 GB, free: 16.88 MB / 1.295 GB Notification: Performance of Templates: time 0.04227/1.351, allocations: 29.36 MB / 1.668 GB, free: 15.03 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/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: 9.973602907266468]