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.00158/0.00158, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001992/0.001992, allocations: 209.1 kB / 23.02 MB, free: 4.926 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.267/3.267, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="cs",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 68.84 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3473, allocations: 179 MB / 1.345 GB, free: 15.86 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.241/0.5884, allocations: 185.8 MB / 1.527 GB, free: 5.371 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.6041, allocations: 9.271 MB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.606, allocations: 79.31 kB / 1.536 GB, free: 12.01 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.6082, allocations: 0.7571 MB / 1.537 GB, free: 11.25 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007595/0.6158, allocations: 2.921 MB / 1.539 GB, free: 8.312 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.6199, allocations: 1.434 MB / 1.541 GB, free: 6.887 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.006219/0.6262, allocations: 4.181 MB / 1.545 GB, free: 2.688 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.6281, allocations: 1.001 MB / 1.546 GB, free: 1.656 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.6322, allocations: 1.88 MB / 1.548 GB, free: 15.77 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.6358, allocations: 1.301 MB / 1.549 GB, free: 14.47 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000615/0.6364, allocations: 144 kB / 1.549 GB, free: 14.33 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.6411, allocations: 1.967 MB / 1.551 GB, free: 12.36 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.6423, allocations: 0.6271 MB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.6441, allocations: 0.7119 MB / 1.552 GB, free: 11.02 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007076/0.6512, allocations: 2.955 MB / 1.555 GB, free: 8.051 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.6512, allocations: 0 / 1.555 GB, free: 8.051 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6512, allocations: 0 / 1.555 GB, free: 8.051 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001346/0.6513, allocations: 0 / 1.555 GB, free: 8.051 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.005958/0.6573, allocations: 1.865 MB / 1.557 GB, free: 6.145 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.6574, allocations: 15.95 kB / 1.557 GB, free: 6.129 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.706e-05/0.6574, allocations: 38.14 kB / 1.557 GB, free: 6.09 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005592/0.658, allocations: 164.8 kB / 1.557 GB, free: 5.918 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.6618, allocations: 490.5 kB / 1.558 GB, free: 5.438 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.6646, allocations: 1.057 MB / 1.559 GB, free: 4.336 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.6647, allocations: 82.14 kB / 1.559 GB, free: 4.254 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.665, allocations: 116 kB / 1.559 GB, free: 4.141 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.6679, allocations: 1.614 MB / 1.561 GB, free: 2.387 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.668, allocations: 3.984 kB / 1.561 GB, free: 2.383 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.6681, allocations: 48 kB / 1.561 GB, free: 2.336 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.487e-05/0.6682, allocations: 42.08 kB / 1.561 GB, free: 2.293 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002121/0.6703, allocations: 1.074 MB / 1.562 GB, free: 1.211 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.6774, allocations: 2.904 MB / 1.565 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6789, allocations: 0.759 MB / 1.565 GB, free: 13.48 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.6797, allocations: 454.2 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/0.68, allocations: 60.95 kB / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.68, allocations: 47.56 kB / 1.566 GB, free: 12.92 MB / 1.264 GB Notification: Performance of pre-optimization done (n=83): time 3.276e-06/0.6801, allocations: 0 / 1.566 GB, free: 12.92 MB / 1.264 GB Notification: Performance of matching and sorting (n=89): time 0.006739/0.6868, allocations: 2.632 MB / 1.568 GB, free: 10.26 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.6869, allocations: 60.41 kB / 1.568 GB, free: 10.18 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.6885, allocations: 0.9832 MB / 1.569 GB, free: 9.184 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.6887, allocations: 49.7 kB / 1.569 GB, free: 9.129 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.6892, allocations: 0.5442 MB / 1.57 GB, free: 8.578 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000408/0.6896, allocations: 329.2 kB / 1.57 GB, free: 8.254 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.6899, allocations: 154.6 kB / 1.57 GB, free: 8.098 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6901, allocations: 341.9 kB / 1.571 GB, free: 7.758 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.6907, allocations: 341.8 kB / 1.571 GB, free: 7.426 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.6914, allocations: 0.571 MB / 1.572 GB, free: 6.789 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.00656/0.698, allocations: 2.819 MB / 1.574 GB, free: 3.941 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.698, allocations: 3.938 kB / 1.574 GB, free: 3.938 MB / 1.264 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001816/0.6998, allocations: 1.012 MB / 1.575 GB, free: 2.918 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6998, allocations: 8 kB / 1.575 GB, free: 2.91 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6998, allocations: 7.922 kB / 1.575 GB, free: 2.902 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6999, allocations: 8.375 kB / 1.575 GB, free: 2.895 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.7007, allocations: 183.8 kB / 1.576 GB, free: 2.715 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.7007, allocations: 11.94 kB / 1.576 GB, free: 2.703 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.7017, allocations: 23.95 kB / 1.576 GB, free: 2.68 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.7018, allocations: 35.98 kB / 1.576 GB, free: 2.645 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.0006637/0.7025, allocations: 379.2 kB / 1.576 GB, free: 2.266 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.7028, allocations: 139.1 kB / 1.576 GB, free: 2.129 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.7031, allocations: 148.3 kB / 1.576 GB, free: 1.977 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7031, allocations: 8 kB / 1.576 GB, free: 1.969 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.7031, allocations: 4 kB / 1.576 GB, free: 1.965 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001626/0.7047, allocations: 1.098 MB / 1.577 GB, free: 0.793 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.7099, allocations: 2.808 MB / 1.58 GB, free: 13.81 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.7099, allocations: 8 kB / 1.58 GB, free: 13.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.7107, allocations: 159.8 kB / 1.58 GB, free: 13.64 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00036/0.711, allocations: 102.4 kB / 1.58 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.736e-05/0.7111, allocations: 28 kB / 1.58 GB, free: 13.51 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.7137, allocations: 2.871 MB / 1.583 GB, free: 10.42 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/0.7137, allocations: 15.94 kB / 1.583 GB, free: 10.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.7164, allocations: 1.746 MB / 1.585 GB, free: 8.516 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.717, allocations: 231.1 kB / 1.585 GB, free: 8.289 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.7172, allocations: 35.94 kB / 1.585 GB, free: 8.254 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.7182, allocations: 44.09 kB / 1.585 GB, free: 8.211 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7183, allocations: 92.02 kB / 1.585 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/0.7184, allocations: 47.98 kB / 1.585 GB, free: 8.074 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001028/0.7195, allocations: 0.6956 MB / 1.586 GB, free: 7.371 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7195, allocations: 0 / 1.586 GB, free: 7.371 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001233/0.7207, allocations: 375.9 kB / 1.586 GB, free: 7.004 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.003238/0.7239, allocations: 2.409 MB / 1.589 GB, free: 4.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.7254, allocations: 0.8088 MB / 1.59 GB, free: 3.641 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.7254, allocations: 4 kB / 1.59 GB, free: 3.637 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.7265, allocations: 0.6618 MB / 1.59 GB, free: 2.953 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/0.7307, allocations: 0.9195 MB / 1.591 GB, free: 2.055 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/0.7465, allocations: 9.729 MB / 1.601 GB, free: 7.879 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.7474, allocations: 0.6573 MB / 1.601 GB, free: 7.188 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00133/0.7488, allocations: 335 kB / 1.602 GB, free: 6.855 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008286/0.7496, allocations: 475.3 kB / 1.602 GB, free: 6.391 MB / 1.295 GB Notification: Performance of SimCode: time 1.262e-06/0.7496, allocations: 0 / 1.602 GB, free: 6.391 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6755/1.425, allocations: 42.12 MB / 1.643 GB, free: 253.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/15.24, allocations: 7.328 kB / 1.643 GB, free: 253.3 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 840.0] 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: 22.13372540601995]