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.001188/0.001188, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.00125/0.00125, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 4.508 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.469/2.469, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6839, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2299/0.9139, allocations: 207.2 MB / 1.152 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.93, allocations: 9.792 MB / 1.162 GB, free: 8.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.9326, allocations: 55.62 kB / 1.162 GB, free: 8.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002529/0.9351, allocations: 0.684 MB / 1.162 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.9431, allocations: 2.646 MB / 1.165 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.9471, allocations: 1.267 MB / 1.166 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005943/0.9531, allocations: 4.052 MB / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.9557, allocations: 1.313 MB / 1.171 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.9591, allocations: 1.37 MB / 1.173 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.9627, allocations: 1.305 MB / 1.174 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/0.9633, allocations: 148 kB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00545/0.9688, allocations: 2.497 MB / 1.177 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.9698, allocations: 0.6117 MB / 1.177 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.9719, allocations: 0.8595 MB / 1.178 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004073/0.976, allocations: 2.265 MB / 1.18 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.9761, allocations: 0 / 1.18 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.819e-06/0.9761, allocations: 0 / 1.18 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.448e-05/0.9762, allocations: 3.938 kB / 1.18 GB, free: 5.125 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.005472/0.9817, allocations: 1.896 MB / 1.182 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.9817, allocations: 8.031 kB / 1.182 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.9856, allocations: 489.7 kB / 1.183 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.9883, allocations: 1.061 MB / 1.184 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.9885, allocations: 78.14 kB / 1.184 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/0.9889, allocations: 115.9 kB / 1.184 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.9917, allocations: 1.153 MB / 1.185 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.9917, allocations: 11.86 kB / 1.185 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.9919, allocations: 51.98 kB / 1.185 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.992, allocations: 42.08 kB / 1.185 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.994, allocations: 1.074 MB / 1.186 GB, free: 15.01 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.007896/1.002, allocations: 4.204 MB / 1.19 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.003, allocations: 0.7856 MB / 1.191 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/1.004, allocations: 482.2 kB / 1.191 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/1.005, allocations: 296.3 kB / 1.192 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/1.005, allocations: 43.56 kB / 1.192 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=83): time 2.775e-06/1.005, allocations: 0 / 1.192 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89): time 0.006521/1.011, allocations: 2.848 MB / 1.195 GB, free: 5.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/1.011, allocations: 68.34 kB / 1.195 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.013, allocations: 0.9755 MB / 1.196 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/1.013, allocations: 45.64 kB / 1.196 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/1.013, allocations: 0.5434 MB / 1.196 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/1.014, allocations: 315.4 kB / 1.196 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/1.014, allocations: 158.6 kB / 1.197 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.014, allocations: 337.9 kB / 1.197 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/1.015, allocations: 341.8 kB / 1.197 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/1.015, allocations: 493.9 kB / 1.198 GB, free: 2.594 MB / 0.9512 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.006322/1.022, allocations: 3.042 MB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.022, allocations: 4 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001675/1.023, allocations: 1.015 MB / 1.202 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.023, allocations: 4 kB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.023, allocations: 4 kB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.024, allocations: 8.375 kB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/1.024, allocations: 179.7 kB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/1.024, allocations: 8 kB / 1.202 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.026, allocations: 79.7 kB / 1.202 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.026, allocations: 35.98 kB / 1.202 GB, free: 14.12 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.0006811/1.026, allocations: 377.5 kB / 1.202 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.027, allocations: 134.4 kB / 1.203 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/1.027, allocations: 148.3 kB / 1.203 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/1.027, allocations: 8 kB / 1.203 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/1.027, allocations: 0 / 1.203 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001569/1.029, allocations: 1.098 MB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/1.034, allocations: 3.043 MB / 1.207 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.034, allocations: 12 kB / 1.207 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/1.035, allocations: 167.9 kB / 1.207 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003644/1.035, allocations: 101.6 kB / 1.207 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.035, allocations: 28 kB / 1.207 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/1.038, allocations: 3.086 MB / 1.21 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.038, allocations: 16 kB / 1.21 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/1.04, allocations: 1.733 MB / 1.212 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008211/1.041, allocations: 303.5 kB / 1.212 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/1.041, allocations: 43.86 kB / 1.212 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.043, allocations: 75.7 kB / 1.212 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.043, allocations: 88.25 kB / 1.212 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.043, allocations: 43.98 kB / 1.212 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001044/1.044, allocations: 0.6956 MB / 1.213 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.3e-07/1.044, allocations: 0 / 1.213 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001382/1.045, allocations: 376 kB / 1.213 GB, free: 1.871 MB / 0.9669 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.0006191/1.046, allocations: 254.9 kB / 1.214 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001728/1.048, allocations: 0.9527 MB / 1.214 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.048, allocations: 4 kB / 1.214 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.049, allocations: 0.6654 MB / 1.215 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.053, allocations: 0.9281 MB / 1.216 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/1.058, allocations: 3.329 MB / 1.219 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/1.059, allocations: 1.241 MB / 1.22 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/1.06, allocations: 107.4 kB / 1.221 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of SimCode: time 9.01e-07/1.06, allocations: 0 / 1.221 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.5131/1.573, allocations: 27.1 MB / 1.247 GB, free: 281.5 MB / 0.9981 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