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.001901/0.001901, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002706/0.002706, allocations: 157.3 kB / 23.01 MB, free: 4.602 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.838/2.838, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] 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.002097/0.002097, allocations: 63.91 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.831, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.269/1.1, allocations: 186 MB / 1.368 GB, free: 11.75 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01583/1.116, allocations: 9.286 MB / 1.377 GB, free: 2.449 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/1.117, allocations: 79.31 kB / 1.377 GB, free: 2.371 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/1.119, allocations: 0.7493 MB / 1.378 GB, free: 1.617 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007218/1.127, allocations: 2.921 MB / 1.381 GB, free: 14.68 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/1.13, allocations: 1.423 MB / 1.382 GB, free: 13.27 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005876/1.136, allocations: 4.142 MB / 1.386 GB, free: 9.113 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/1.138, allocations: 0.9896 MB / 1.387 GB, free: 8.09 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/1.142, allocations: 1.888 MB / 1.389 GB, free: 6.195 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/1.145, allocations: 1.26 MB / 1.39 GB, free: 4.941 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/1.146, allocations: 144 kB / 1.391 GB, free: 4.801 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004747/1.15, allocations: 1.944 MB / 1.392 GB, free: 2.852 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000822/1.151, allocations: 0.627 MB / 1.393 GB, free: 2.223 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/1.152, allocations: 0.7159 MB / 1.394 GB, free: 1.504 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/1.157, allocations: 2.955 MB / 1.397 GB, free: 14.54 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/1.157, allocations: 4 kB / 1.397 GB, free: 14.54 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.343e-06/1.157, allocations: 0 / 1.397 GB, free: 14.54 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.616e-05/1.157, allocations: 0 / 1.397 GB, free: 14.54 MB / 1.248 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.00335/1.161, allocations: 1.873 MB / 1.398 GB, free: 12.62 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.161, allocations: 12.03 kB / 1.398 GB, free: 12.61 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/1.164, allocations: 498.5 kB / 1.399 GB, free: 12.12 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/1.166, allocations: 1.053 MB / 1.4 GB, free: 11.03 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/1.166, allocations: 82.14 kB / 1.4 GB, free: 10.95 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/1.166, allocations: 112 kB / 1.4 GB, free: 10.84 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/1.169, allocations: 1.613 MB / 1.402 GB, free: 9.086 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/1.169, allocations: 3.938 kB / 1.402 GB, free: 9.082 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.169, allocations: 48 kB / 1.402 GB, free: 9.035 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/1.169, allocations: 38.14 kB / 1.402 GB, free: 8.996 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/1.171, allocations: 1.07 MB / 1.403 GB, free: 7.918 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005542/1.176, allocations: 2.686 MB / 1.406 GB, free: 5.188 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/1.178, allocations: 0.7553 MB / 1.406 GB, free: 4.422 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/1.178, allocations: 459.1 kB / 1.407 GB, free: 3.977 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/1.179, allocations: 68.89 kB / 1.407 GB, free: 3.91 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/1.179, allocations: 43.56 kB / 1.407 GB, free: 3.855 MB / 1.248 GB Notification: Performance of pre-optimization done (n=83): time 2.685e-06/1.179, allocations: 0 / 1.407 GB, free: 3.855 MB / 1.248 GB Notification: Performance of matching and sorting (n=89): time 0.005736/1.185, allocations: 2.629 MB / 1.409 GB, free: 1.199 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.185, allocations: 64.41 kB / 1.409 GB, free: 1.125 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/1.186, allocations: 0.7397 MB / 1.41 GB, free: 388 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/1.186, allocations: 45.7 kB / 1.41 GB, free: 336 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/1.186, allocations: 0.5632 MB / 1.411 GB, free: 15.76 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/1.186, allocations: 329.1 kB / 1.411 GB, free: 15.43 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/1.187, allocations: 158.6 kB / 1.411 GB, free: 15.27 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.187, allocations: 349.9 kB / 1.412 GB, free: 14.92 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/1.188, allocations: 337.8 kB / 1.412 GB, free: 14.59 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007878/1.188, allocations: 0.5788 MB / 1.412 GB, free: 13.95 MB / 1.264 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.006439/1.195, allocations: 2.808 MB / 1.415 GB, free: 11.11 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.195, allocations: 0 / 1.415 GB, free: 11.11 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001714/1.196, allocations: 1 MB / 1.416 GB, free: 10.11 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/1.197, allocations: 11.94 kB / 1.416 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.197, allocations: 4 kB / 1.416 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.197, allocations: 8 kB / 1.416 GB, free: 10.08 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/1.197, allocations: 183.7 kB / 1.416 GB, free: 9.902 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.197, allocations: 8 kB / 1.416 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/1.198, allocations: 31.94 kB / 1.416 GB, free: 9.863 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/1.198, allocations: 28.25 kB / 1.416 GB, free: 9.836 MB / 1.264 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.0006343/1.199, allocations: 390 kB / 1.417 GB, free: 9.445 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.199, allocations: 115.3 kB / 1.417 GB, free: 9.332 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/1.199, allocations: 130.4 kB / 1.417 GB, free: 9.195 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.199, allocations: 8 kB / 1.417 GB, free: 9.188 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.2, allocations: 0 / 1.417 GB, free: 9.188 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/1.201, allocations: 1.086 MB / 1.418 GB, free: 8.027 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/1.206, allocations: 2.691 MB / 1.421 GB, free: 5.176 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.206, allocations: 8 kB / 1.421 GB, free: 5.168 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/1.207, allocations: 167.7 kB / 1.421 GB, free: 5.004 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/1.207, allocations: 97.64 kB / 1.421 GB, free: 4.902 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/1.207, allocations: 32 kB / 1.421 GB, free: 4.871 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/1.21, allocations: 2.837 MB / 1.424 GB, free: 1.828 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.21, allocations: 11.94 kB / 1.424 GB, free: 1.816 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/1.213, allocations: 1.722 MB / 1.425 GB, free: 15.96 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/1.213, allocations: 207.3 kB / 1.426 GB, free: 15.75 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.213, allocations: 32 kB / 1.426 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008953/1.214, allocations: 35.98 kB / 1.426 GB, free: 15.69 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.214, allocations: 92.12 kB / 1.426 GB, free: 15.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.343e-05/1.215, allocations: 47.92 kB / 1.426 GB, free: 15.55 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007376/1.215, allocations: 0.5107 MB / 1.426 GB, free: 15.05 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/1.215, allocations: 7.938 kB / 1.426 GB, free: 15.04 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001189/1.217, allocations: 368 kB / 1.427 GB, free: 14.68 MB / 1.279 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.0004145/1.217, allocations: 214.8 kB / 1.427 GB, free: 14.46 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001517/1.218, allocations: 0.8095 MB / 1.428 GB, free: 13.65 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.218, allocations: 0 / 1.428 GB, free: 13.65 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.219, allocations: 0.6655 MB / 1.428 GB, free: 12.96 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.223, allocations: 0.7406 MB / 1.429 GB, free: 12.24 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/1.227, allocations: 2.759 MB / 1.432 GB, free: 9.324 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/1.228, allocations: 0.6604 MB / 1.432 GB, free: 8.629 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001035/1.229, allocations: 305 kB / 1.433 GB, free: 8.328 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/1.229, allocations: 88.48 kB / 1.433 GB, free: 8.242 MB / 1.279 GB Notification: Performance of SimCode: time 8.02e-07/1.229, allocations: 0 / 1.433 GB, free: 8.242 MB / 1.279 GB Notification: Performance of Templates: time 0.04345/1.273, allocations: 24.91 MB / 1.457 GB, free: 15.89 MB / 1.311 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 -s ida -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: 9.948714590049349]