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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 108.7 kB / 16.27 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 189.9 kB / 17.2 MB, free: 5.945 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.191/2.191, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.02 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7601/1.047, allocations: 209.9 MB / 1.155 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01554/1.062, allocations: 9.853 MB / 1.165 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/1.065, allocations: 56.78 kB / 1.165 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/1.068, allocations: 0.7774 MB / 1.166 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009265/1.077, allocations: 2.801 MB / 1.168 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.082, allocations: 1.383 MB / 1.17 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007351/1.089, allocations: 4.055 MB / 1.174 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/1.092, allocations: 1.328 MB / 1.175 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/1.096, allocations: 1.351 MB / 1.176 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/1.099, allocations: 1.233 MB / 1.178 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003745/1.099, allocations: 144.4 kB / 1.178 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/1.105, allocations: 2.383 MB / 1.18 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/1.106, allocations: 0.6063 MB / 1.181 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/1.108, allocations: 0.8612 MB / 1.181 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006313/1.114, allocations: 2.975 MB / 1.184 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.115, allocations: 4 kB / 1.184 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.312e-06/1.115, allocations: 0 / 1.184 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.873e-05/1.115, allocations: 0 / 1.184 GB, free: 9.633 MB / 0.8731 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.003407/1.118, allocations: 1.897 MB / 1.186 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.118, allocations: 8.344 kB / 1.186 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/1.121, allocations: 490.2 kB / 1.187 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/1.123, allocations: 1.058 MB / 1.188 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/1.123, allocations: 79.83 kB / 1.188 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/1.124, allocations: 118.6 kB / 1.188 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.126, allocations: 1.16 MB / 1.189 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.126, allocations: 0 / 1.189 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.126, allocations: 46.19 kB / 1.189 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/1.126, allocations: 43.45 kB / 1.189 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/1.127, allocations: 1.073 MB / 1.19 GB, free: 5.93 MB / 0.8731 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.006202/1.134, allocations: 4.246 MB / 1.194 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.135, allocations: 0.7904 MB / 1.195 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/1.135, allocations: 483 kB / 1.196 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/1.136, allocations: 293 kB / 1.196 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/1.136, allocations: 49.25 kB / 1.196 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/1.136, allocations: 0 / 1.196 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89): time 0.005779/1.142, allocations: 2.849 MB / 1.199 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/1.142, allocations: 59.94 kB / 1.199 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.143, allocations: 0.9727 MB / 1.2 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/1.143, allocations: 46.89 kB / 1.2 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/1.144, allocations: 0.5426 MB / 1.2 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.144, allocations: 312.5 kB / 1.201 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/1.144, allocations: 160.8 kB / 1.201 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.144, allocations: 340.8 kB / 1.201 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/1.145, allocations: 342.8 kB / 1.201 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/1.145, allocations: 486.6 kB / 1.202 GB, free: 13.54 MB / 0.8887 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.005985/1.151, allocations: 3.041 MB / 1.205 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.151, allocations: 2.312 kB / 1.205 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001741/1.153, allocations: 1.007 MB / 1.206 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.153, allocations: 13.16 kB / 1.206 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.153, allocations: 4.812 kB / 1.206 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.153, allocations: 7.25 kB / 1.206 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/1.154, allocations: 176.9 kB / 1.206 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/1.154, allocations: 11.03 kB / 1.206 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.155, allocations: 34.67 kB / 1.206 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/1.155, allocations: 29.45 kB / 1.206 GB, free: 11.23 MB / 0.8887 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.000712/1.156, allocations: 387.7 kB / 1.206 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/1.157, allocations: 125.4 kB / 1.207 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/1.157, allocations: 143.4 kB / 1.207 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.157, allocations: 13.8 kB / 1.207 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-05/1.157, allocations: 0 / 1.207 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/1.159, allocations: 1.094 MB / 1.208 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/1.164, allocations: 3.049 MB / 1.211 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.164, allocations: 6.906 kB / 1.211 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/1.165, allocations: 168.1 kB / 1.211 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/1.165, allocations: 101.4 kB / 1.211 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/1.165, allocations: 30.25 kB / 1.211 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/1.168, allocations: 3.091 MB / 1.214 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.168, allocations: 14.06 kB / 1.214 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/1.171, allocations: 1.737 MB / 1.216 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.172, allocations: 305.1 kB / 1.216 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005156/1.172, allocations: 33.88 kB / 1.216 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.174, allocations: 38.7 kB / 1.216 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.174, allocations: 91.34 kB / 1.216 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.174, allocations: 45.14 kB / 1.216 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001636/1.176, allocations: 0.6961 MB / 1.217 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/1.176, allocations: 0 / 1.217 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002734/1.179, allocations: 375.7 kB / 1.217 GB, free: 2.75 MB / 0.8887 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.0008919/1.179, allocations: 252.7 kB / 1.218 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002131/1.182, allocations: 0.9541 MB / 1.218 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.182, allocations: 2.594 kB / 1.218 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.183, allocations: 0.6737 MB / 1.219 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/1.188, allocations: 0.9203 MB / 1.22 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/1.193, allocations: 2.868 MB / 1.223 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.194, allocations: 1.25 MB / 1.224 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.195, allocations: 107.4 kB / 1.224 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.195, allocations: 0 / 1.224 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.04278/1.237, allocations: 27.11 MB / 1.251 GB, free: 3.23 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (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 & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/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