Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001725/0.001725, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001837/0.001837, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003336/0.003336, allocations: 68.11 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.364, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8667/1.231, allocations: 209.9 MB / 1.223 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01817/1.249, allocations: 9.863 MB / 1.233 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/1.252, allocations: 61.31 kB / 1.233 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/1.255, allocations: 0.7701 MB / 1.233 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00987/1.265, allocations: 2.8 MB / 1.236 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/1.269, allocations: 1.38 MB / 1.237 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00574/1.275, allocations: 4.068 MB / 1.241 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/1.277, allocations: 1.321 MB / 1.243 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/1.279, allocations: 1.35 MB / 1.244 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/1.282, allocations: 1.229 MB / 1.245 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000283/1.282, allocations: 144 kB / 1.245 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005406/1.288, allocations: 2.381 MB / 1.248 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008216/1.288, allocations: 0.6039 MB / 1.248 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/1.29, allocations: 0.8595 MB / 1.249 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005248/1.295, allocations: 2.972 MB / 1.252 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.295, allocations: 0 / 1.252 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.054e-06/1.295, allocations: 3.938 kB / 1.252 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.634e-05/1.295, allocations: 0 / 1.252 GB, free: 9.613 MB / 0.9512 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.003344/1.298, allocations: 1.903 MB / 1.254 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.298, allocations: 8.031 kB / 1.254 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/1.302, allocations: 489.7 kB / 1.254 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.303, allocations: 1.057 MB / 1.255 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/1.303, allocations: 78.14 kB / 1.255 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.304, allocations: 123.8 kB / 1.256 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.306, allocations: 1.157 MB / 1.257 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/1.306, allocations: 11.97 kB / 1.257 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/1.306, allocations: 47.88 kB / 1.257 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.593e-05/1.306, allocations: 42.14 kB / 1.257 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/1.308, allocations: 1.074 MB / 1.258 GB, free: 3.492 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.006607/1.314, allocations: 4.227 MB / 1.262 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/1.316, allocations: 0.7976 MB / 1.263 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/1.316, allocations: 486.7 kB / 1.263 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/1.317, allocations: 292.3 kB / 1.264 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.317, allocations: 47.84 kB / 1.264 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/1.317, allocations: 0 / 1.264 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005908/1.323, allocations: 2.836 MB / 1.266 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.323, allocations: 60.41 kB / 1.266 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.324, allocations: 0.9794 MB / 1.267 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.155e-05/1.324, allocations: 45.7 kB / 1.267 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/1.325, allocations: 0.5434 MB / 1.268 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/1.325, allocations: 315.4 kB / 1.268 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.325, allocations: 158.6 kB / 1.268 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.326, allocations: 334 kB / 1.269 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/1.326, allocations: 341.8 kB / 1.269 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/1.327, allocations: 489.9 kB / 1.27 GB, free: 7.059 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.00638/1.333, allocations: 3.05 MB / 1.272 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.333, allocations: 8 kB / 1.272 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0018/1.335, allocations: 1.004 MB / 1.273 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.335, allocations: 7.938 kB / 1.273 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.335, allocations: 4 kB / 1.273 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.335, allocations: 8.375 kB / 1.273 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/1.336, allocations: 187.7 kB / 1.274 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.336, allocations: 7.984 kB / 1.274 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.337, allocations: 31.91 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/1.337, allocations: 32 kB / 1.274 GB, free: 2.633 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.000659/1.338, allocations: 378.3 kB / 1.274 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/1.338, allocations: 130.4 kB / 1.274 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/1.338, allocations: 152.3 kB / 1.274 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.338, allocations: 8 kB / 1.274 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.338, allocations: 4 kB / 1.274 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/1.34, allocations: 1.094 MB / 1.275 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005123/1.345, allocations: 3.039 MB / 1.278 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.345, allocations: 8 kB / 1.278 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006964/1.346, allocations: 168.6 kB / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003761/1.346, allocations: 97.66 kB / 1.279 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/1.346, allocations: 31.98 kB / 1.279 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/1.349, allocations: 3.09 MB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/1.349, allocations: 19.94 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/1.352, allocations: 1.733 MB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/1.353, allocations: 311.5 kB / 1.284 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.353, allocations: 35.92 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/1.354, allocations: 43.83 kB / 1.284 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/1.354, allocations: 88.25 kB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/1.354, allocations: 47.98 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009969/1.355, allocations: 0.6956 MB / 1.285 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.355, allocations: 0 / 1.285 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001175/1.356, allocations: 372 kB / 1.285 GB, free: 6.41 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.0006072/1.357, allocations: 247.3 kB / 1.285 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.358, allocations: 0.9605 MB / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.358, allocations: 4 kB / 1.286 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.359, allocations: 0.6618 MB / 1.287 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/1.364, allocations: 0.9354 MB / 1.288 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/1.37, allocations: 2.865 MB / 1.291 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/1.372, allocations: 1.249 MB / 1.292 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/1.372, allocations: 103.4 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/1.372, allocations: 3.938 kB / 1.292 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.04191/1.414, allocations: 27.1 MB / 1.318 GB, free: 4.25 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches