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.001799/0.001799, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001967/0.001967, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.571/2.571, allocations: 437.1 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 76.44 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8325/1.149, allocations: 207.2 MB / 1.22 GB, free: 8.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.018/1.167, allocations: 9.802 MB / 1.229 GB, free: 272 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003047/1.17, allocations: 53.53 kB / 1.229 GB, free: 248 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/1.173, allocations: 0.6818 MB / 1.23 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008629/1.181, allocations: 2.651 MB / 1.233 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/1.186, allocations: 1.258 MB / 1.234 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006954/1.193, allocations: 4.06 MB / 1.238 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/1.195, allocations: 1.305 MB / 1.239 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/1.199, allocations: 1.374 MB / 1.241 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003861/1.203, allocations: 1.304 MB / 1.242 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006789/1.203, allocations: 144 kB / 1.242 GB, free: 4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006292/1.21, allocations: 2.505 MB / 1.244 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001403/1.211, allocations: 0.6116 MB / 1.245 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/1.213, allocations: 0.8556 MB / 1.246 GB, free: 16 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004789/1.218, allocations: 2.265 MB / 1.248 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.218, allocations: 0 / 1.248 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.284e-06/1.218, allocations: 0 / 1.248 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.782e-05/1.218, allocations: 3.938 kB / 1.248 GB, free: 13.74 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.004272/1.222, allocations: 1.893 MB / 1.25 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.223, allocations: 16.03 kB / 1.25 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.226, allocations: 481.7 kB / 1.25 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/1.228, allocations: 1.069 MB / 1.251 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/1.228, allocations: 82.14 kB / 1.252 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/1.229, allocations: 111.9 kB / 1.252 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/1.231, allocations: 1.158 MB / 1.253 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.231, allocations: 0 / 1.253 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/1.231, allocations: 55.92 kB / 1.253 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.459e-05/1.231, allocations: 38.14 kB / 1.253 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/1.233, allocations: 1.074 MB / 1.254 GB, free: 7.633 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.007242/1.241, allocations: 4.208 MB / 1.258 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.242, allocations: 0.7913 MB / 1.259 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/1.243, allocations: 486.2 kB / 1.259 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/1.243, allocations: 300.3 kB / 1.26 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/1.243, allocations: 43.56 kB / 1.26 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.936e-06/1.243, allocations: 0 / 1.26 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.006169/1.249, allocations: 2.848 MB / 1.262 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.25, allocations: 60.41 kB / 1.262 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.251, allocations: 0.9677 MB / 1.263 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/1.251, allocations: 53.7 kB / 1.263 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/1.251, allocations: 0.5395 MB / 1.264 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003038/1.252, allocations: 315.4 kB / 1.264 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/1.252, allocations: 154.6 kB / 1.264 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.252, allocations: 341.9 kB / 1.265 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.253, allocations: 341.8 kB / 1.265 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/1.253, allocations: 485.9 kB / 1.265 GB, free: 11.21 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.006238/1.26, allocations: 3.042 MB / 1.268 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.26, allocations: 0 / 1.268 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001732/1.261, allocations: 1.011 MB / 1.269 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/1.261, allocations: 14.75 kB / 1.269 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.262, allocations: 4 kB / 1.269 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.262, allocations: 8 kB / 1.269 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/1.262, allocations: 183.7 kB / 1.27 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.262, allocations: 8.375 kB / 1.27 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.264, allocations: 79.7 kB / 1.27 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/1.264, allocations: 35.98 kB / 1.27 GB, free: 6.746 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.0006758/1.264, allocations: 373.6 kB / 1.27 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.265, allocations: 134.4 kB / 1.27 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/1.265, allocations: 152.3 kB / 1.27 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.265, allocations: 12 kB / 1.27 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.265, allocations: 0 / 1.27 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001611/1.266, allocations: 1.098 MB / 1.271 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/1.271, allocations: 3.047 MB / 1.274 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.271, allocations: 8 kB / 1.274 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/1.272, allocations: 168.5 kB / 1.275 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003441/1.272, allocations: 101.6 kB / 1.275 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/1.273, allocations: 28 kB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/1.275, allocations: 3.098 MB / 1.278 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.275, allocations: 15.94 kB / 1.278 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.278, allocations: 1.737 MB / 1.279 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/1.279, allocations: 307.5 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/1.279, allocations: 31.98 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.28, allocations: 75.73 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.28, allocations: 88.11 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/1.28, allocations: 47.98 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009907/1.281, allocations: 0.6956 MB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.281, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00115/1.282, allocations: 376 kB / 1.281 GB, free: 10.47 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.0005388/1.283, allocations: 243.4 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.284, allocations: 0.9605 MB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.284, allocations: 4 kB / 1.282 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009862/1.285, allocations: 0.6622 MB / 1.283 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/1.289, allocations: 0.9356 MB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/1.294, allocations: 3.325 MB / 1.287 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009629/1.295, allocations: 1.237 MB / 1.288 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/1.296, allocations: 107.4 kB / 1.288 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/1.296, allocations: 4 kB / 1.288 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.04387/1.34, allocations: 27.09 MB / 1.315 GB, free: 7.867 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=400 -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