Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5591/0.5604, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1975/0.758, allocations: 209.9 MB / 1.155 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.7711, allocations: 9.862 MB / 1.164 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.7726, allocations: 63.62 kB / 1.164 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.7744, allocations: 0.7687 MB / 1.165 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.7806, allocations: 2.804 MB / 1.168 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.7841, allocations: 1.364 MB / 1.169 GB, free: 284 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.7888, allocations: 4.064 MB / 1.173 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.7905, allocations: 1.336 MB / 1.174 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.7926, allocations: 1.347 MB / 1.176 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.7947, allocations: 1.237 MB / 1.177 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.7949, allocations: 144 kB / 1.177 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/0.7991, allocations: 2.377 MB / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.7997, allocations: 0.6 MB / 1.18 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008808/0.8006, allocations: 0.8634 MB / 1.181 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.8042, allocations: 2.972 MB / 1.184 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8042, allocations: 0 / 1.184 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8042, allocations: 0 / 1.184 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.035e-05/0.8043, allocations: 4 kB / 1.184 GB, free: 1.266 MB / 0.9356 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.002743/0.807, allocations: 1.896 MB / 1.186 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.8071, allocations: 8.031 kB / 1.186 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.8073, allocations: 172.8 kB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.8103, allocations: 489.7 kB / 1.186 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.8119, allocations: 1.057 MB / 1.187 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.812, allocations: 82.14 kB / 1.187 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.8121, allocations: 111.9 kB / 1.188 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.8139, allocations: 1.161 MB / 1.189 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.814, allocations: 0 / 1.189 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.8141, allocations: 52 kB / 1.189 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.8141, allocations: 38.14 kB / 1.189 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.8157, allocations: 1.078 MB / 1.19 GB, free: 10.98 MB / 0.9512 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.005361/0.8211, allocations: 4.233 MB / 1.194 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.8223, allocations: 0.79 MB / 1.195 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.8229, allocations: 482.2 kB / 1.195 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.8233, allocations: 296.6 kB / 1.195 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.8234, allocations: 55.41 kB / 1.195 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.144e-06/0.8234, allocations: 0 / 1.195 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.005145/0.8285, allocations: 2.856 MB / 1.198 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.8286, allocations: 60.41 kB / 1.198 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.8297, allocations: 0.9716 MB / 1.199 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.8297, allocations: 45.7 kB / 1.199 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.8301, allocations: 0.5395 MB / 1.2 GB, free: 192 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.8304, allocations: 315.4 kB / 1.2 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.8306, allocations: 154.6 kB / 1.2 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8307, allocations: 345.9 kB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.8312, allocations: 341.8 kB / 1.201 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.8319, allocations: 481.9 kB / 1.201 GB, free: 14.53 MB / 0.9669 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.005926/0.8378, allocations: 3.05 MB / 1.204 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8378, allocations: 0 / 1.204 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001472/0.8393, allocations: 1.007 MB / 1.205 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8393, allocations: 8 kB / 1.205 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.8393, allocations: 384 / 1.205 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8394, allocations: 12 kB / 1.205 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.8401, allocations: 183.7 kB / 1.206 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.8402, allocations: 8 kB / 1.206 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.8411, allocations: 27.91 kB / 1.206 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.8412, allocations: 31.98 kB / 1.206 GB, free: 10.11 MB / 0.9669 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.0004893/0.8417, allocations: 383.5 kB / 1.206 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.8419, allocations: 126.5 kB / 1.206 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.8422, allocations: 148.3 kB / 1.206 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.8422, allocations: 8 kB / 1.206 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8422, allocations: 0 / 1.206 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.8436, allocations: 1.098 MB / 1.207 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004439/0.8481, allocations: 3.044 MB / 1.21 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.8481, allocations: 12 kB / 1.21 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.8488, allocations: 163.7 kB / 1.21 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/0.8492, allocations: 105.7 kB / 1.211 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.8492, allocations: 32 kB / 1.211 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.8515, allocations: 3.101 MB / 1.214 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.8515, allocations: 12 kB / 1.214 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.8538, allocations: 1.737 MB / 1.215 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/0.8543, allocations: 299.5 kB / 1.216 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.8545, allocations: 35.92 kB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.8554, allocations: 48.67 kB / 1.216 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.8555, allocations: 92.09 kB / 1.216 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.836e-05/0.8556, allocations: 39.98 kB / 1.216 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008416/0.8565, allocations: 0.6956 MB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8565, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009977/0.8575, allocations: 372 kB / 1.217 GB, free: 13.88 MB / 0.9825 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.002818/0.8603, allocations: 2.419 MB / 1.219 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.8619, allocations: 0.9605 MB / 1.22 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8619, allocations: 4 kB / 1.22 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.8627, allocations: 0.6697 MB / 1.221 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.8668, allocations: 0.9327 MB / 1.222 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.8791, allocations: 10.28 MB / 1.232 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.8799, allocations: 1.253 MB / 1.233 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001212/0.8811, allocations: 346.9 kB / 1.233 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.8817, allocations: 471.3 kB / 1.234 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.8818, allocations: 0 / 1.234 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4325/1.314, allocations: 38.17 MB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/11.4, allocations: 13.22 kB / 1.271 GB, free: 273.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches