Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001496/0.001496, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001925/0.001925, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 66.98 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2984, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8777/1.176, allocations: 207.2 MB / 1.266 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01622/1.192, allocations: 9.805 MB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/1.196, allocations: 52.03 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/1.199, allocations: 0.6823 MB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008908/1.208, allocations: 2.644 MB / 1.279 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/1.212, allocations: 1.27 MB / 1.28 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008478/1.221, allocations: 4.057 MB / 1.284 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00321/1.224, allocations: 1.304 MB / 1.285 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/1.228, allocations: 1.374 MB / 1.287 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004261/1.233, allocations: 1.307 MB / 1.288 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005549/1.233, allocations: 146.3 kB / 1.288 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007053/1.24, allocations: 2.506 MB / 1.29 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/1.242, allocations: 0.6054 MB / 1.291 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002212/1.244, allocations: 0.865 MB / 1.292 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007036/1.251, allocations: 3.139 MB / 1.295 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.251, allocations: 2.156 kB / 1.295 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.855e-06/1.251, allocations: 3.938 kB / 1.295 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.01e-05/1.251, allocations: 0 / 1.295 GB, free: 3.797 MB / 0.9981 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.003933/1.255, allocations: 1.9 MB / 1.297 GB, free: 18.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.255, allocations: 9.406 kB / 1.297 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/1.259, allocations: 486.8 kB / 1.297 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.26, allocations: 1.072 MB / 1.298 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/1.26, allocations: 86.95 kB / 1.298 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.261, allocations: 110.8 kB / 1.298 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/1.263, allocations: 1.157 MB / 1.3 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/1.263, allocations: 0.9688 kB / 1.3 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.263, allocations: 49.02 kB / 1.3 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/1.263, allocations: 41.84 kB / 1.3 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/1.265, allocations: 1.078 MB / 1.301 GB, free: 18.29 MB / 1.014 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.006435/1.271, allocations: 4.204 MB / 1.305 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.272, allocations: 0.7916 MB / 1.306 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/1.273, allocations: 479.7 kB / 1.306 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004542/1.273, allocations: 299.2 kB / 1.306 GB, free: 16.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.273, allocations: 45.25 kB / 1.306 GB, free: 16.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.036e-06/1.273, allocations: 0 / 1.306 GB, free: 16.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005758/1.279, allocations: 2.85 MB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/1.279, allocations: 65.41 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.281, allocations: 0.9722 MB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.948e-05/1.281, allocations: 44.95 kB / 1.31 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/1.281, allocations: 0.5445 MB / 1.311 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/1.281, allocations: 313.4 kB / 1.311 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/1.281, allocations: 161.4 kB / 1.311 GB, free: 14.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.282, allocations: 339.1 kB / 1.312 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/1.282, allocations: 342.7 kB / 1.312 GB, free: 14.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/1.283, allocations: 484.3 kB / 1.312 GB, free: 14.45 MB / 1.014 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.005538/1.288, allocations: 3.044 MB / 1.315 GB, free: 14.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.288, allocations: 0.9688 kB / 1.315 GB, free: 14.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001507/1.29, allocations: 1.015 MB / 1.316 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.29, allocations: 7.812 kB / 1.316 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/1.29, allocations: 8.312 kB / 1.316 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.29, allocations: 8 kB / 1.316 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/1.29, allocations: 184.8 kB / 1.316 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.29, allocations: 11.34 kB / 1.316 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.292, allocations: 74.77 kB / 1.317 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/1.292, allocations: 34.17 kB / 1.317 GB, free: 13.89 MB / 1.014 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.0006436/1.293, allocations: 383.2 kB / 1.317 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/1.293, allocations: 129.1 kB / 1.317 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/1.293, allocations: 148 kB / 1.317 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/1.293, allocations: 11.09 kB / 1.317 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/1.293, allocations: 0 / 1.317 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/1.294, allocations: 1.09 MB / 1.318 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/1.299, allocations: 3.053 MB / 1.321 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.299, allocations: 9.469 kB / 1.321 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/1.299, allocations: 162.8 kB / 1.321 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/1.3, allocations: 106.8 kB / 1.322 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/1.3, allocations: 28.34 kB / 1.322 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002457/1.302, allocations: 3.09 MB / 1.325 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/1.302, allocations: 13.97 kB / 1.325 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.304, allocations: 1.741 MB / 1.326 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/1.305, allocations: 302.2 kB / 1.327 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.305, allocations: 37.53 kB / 1.327 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/1.306, allocations: 73.36 kB / 1.327 GB, free: 9.164 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.306, allocations: 89.19 kB / 1.327 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/1.306, allocations: 46.91 kB / 1.327 GB, free: 9.152 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008139/1.307, allocations: 0.6962 MB / 1.328 GB, free: 9.039 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.307, allocations: 0 / 1.328 GB, free: 9.039 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00115/1.308, allocations: 376.7 kB / 1.328 GB, free: 9.039 MB / 1.014 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.000522/1.309, allocations: 245.5 kB / 1.328 GB, free: 8.922 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001403/1.31, allocations: 0.9567 MB / 1.329 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.31, allocations: 1.938 kB / 1.329 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/1.311, allocations: 0.6734 MB / 1.33 GB, free: 8.668 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/1.315, allocations: 0.931 MB / 1.331 GB, free: 8.508 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/1.319, allocations: 3.265 MB / 1.334 GB, free: 6.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/1.32, allocations: 1.243 MB / 1.335 GB, free: 5.934 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001388/1.321, allocations: 345.2 kB / 1.335 GB, free: 5.855 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.322, allocations: 97.09 kB / 1.335 GB, free: 5.852 MB / 1.014 GB Notification: Performance of SimCode: time 3.096e-06/1.322, allocations: 0 / 1.335 GB, free: 5.852 MB / 1.014 GB Notification: Performance of Templates: time 0.04863/1.37, allocations: 28.24 MB / 1.363 GB, free: 11.84 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches