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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001531/0.001531, allocations: 107.4 kB / 16.37 MB, free: 6.477 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.001549/0.001549, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 66.17 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2778, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7194/0.9972, allocations: 209.9 MB / 1.156 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0153/1.013, allocations: 9.854 MB / 1.166 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/1.015, allocations: 60.81 kB / 1.166 GB, free: 1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002207/1.017, allocations: 0.7713 MB / 1.167 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007475/1.025, allocations: 2.804 MB / 1.169 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/1.028, allocations: 1.393 MB / 1.171 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005681/1.034, allocations: 4.064 MB / 1.175 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002109/1.036, allocations: 1.332 MB / 1.176 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/1.039, allocations: 1.362 MB / 1.177 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/1.042, allocations: 1.22 MB / 1.178 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004566/1.042, allocations: 144.5 kB / 1.179 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00647/1.049, allocations: 2.385 MB / 1.181 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001166/1.05, allocations: 0.6054 MB / 1.181 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002106/1.052, allocations: 0.8616 MB / 1.182 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/1.058, allocations: 3.006 MB / 1.185 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.058, allocations: 0 / 1.185 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/1.058, allocations: 0 / 1.185 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.141e-05/1.058, allocations: 0 / 1.185 GB, free: 8.977 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.004058/1.062, allocations: 1.889 MB / 1.187 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.062, allocations: 10.81 kB / 1.187 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/1.066, allocations: 489.1 kB / 1.188 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/1.068, allocations: 1.13 MB / 1.189 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/1.068, allocations: 85.08 kB / 1.189 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/1.068, allocations: 112.9 kB / 1.189 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/1.07, allocations: 1.149 MB / 1.19 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.07, allocations: 3.219 kB / 1.19 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.071, allocations: 50.12 kB / 1.19 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/1.071, allocations: 40.91 kB / 1.19 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.072, allocations: 1.083 MB / 1.191 GB, free: 5.234 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.00633/1.079, allocations: 4.186 MB / 1.195 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.08, allocations: 0.7912 MB / 1.196 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/1.081, allocations: 483.9 kB / 1.196 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/1.081, allocations: 301.3 kB / 1.197 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.081, allocations: 44.44 kB / 1.197 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 3.216e-06/1.081, allocations: 0 / 1.197 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89): time 0.005465/1.086, allocations: 2.851 MB / 1.2 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/1.087, allocations: 59.25 kB / 1.2 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.088, allocations: 0.9719 MB / 1.201 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.884e-05/1.088, allocations: 50.92 kB / 1.201 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004102/1.088, allocations: 0.5448 MB / 1.201 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/1.089, allocations: 310.2 kB / 1.201 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/1.089, allocations: 156.8 kB / 1.202 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.089, allocations: 344.7 kB / 1.202 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/1.089, allocations: 338.8 kB / 1.202 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/1.09, allocations: 492.2 kB / 1.203 GB, free: 12.87 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.006295/1.096, allocations: 3.036 MB / 1.206 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/1.096, allocations: 0 / 1.206 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001691/1.098, allocations: 1.012 MB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.098, allocations: 11.41 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.098, allocations: 3.25 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.098, allocations: 7.812 kB / 1.207 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/1.099, allocations: 182.9 kB / 1.207 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/1.099, allocations: 11.56 kB / 1.207 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.1, allocations: 27.77 kB / 1.207 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/1.1, allocations: 34.08 kB / 1.207 GB, free: 10.57 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.0005994/1.101, allocations: 376.7 kB / 1.207 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/1.101, allocations: 129.1 kB / 1.207 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/1.101, allocations: 153.8 kB / 1.208 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.101, allocations: 11.91 kB / 1.208 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.101, allocations: 2.5 kB / 1.208 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/1.103, allocations: 1.095 MB / 1.209 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/1.108, allocations: 3.043 MB / 1.212 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.108, allocations: 9.438 kB / 1.212 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/1.108, allocations: 163.8 kB / 1.212 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003359/1.109, allocations: 98.47 kB / 1.212 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.905e-05/1.109, allocations: 33.59 kB / 1.212 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.111, allocations: 3.085 MB / 1.215 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/1.111, allocations: 20.45 kB / 1.215 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/1.113, allocations: 1.728 MB / 1.217 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/1.114, allocations: 309.7 kB / 1.217 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.114, allocations: 29.72 kB / 1.217 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/1.115, allocations: 56.08 kB / 1.217 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.115, allocations: 87.23 kB / 1.217 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/1.115, allocations: 47.23 kB / 1.217 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008523/1.116, allocations: 0.6941 MB / 1.218 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.116, allocations: 0 / 1.218 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001045/1.117, allocations: 375.7 kB / 1.218 GB, free: 2.086 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.0004936/1.118, allocations: 243.9 kB / 1.218 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001287/1.119, allocations: 0.8481 MB / 1.219 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.119, allocations: 2.75 kB / 1.219 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008918/1.12, allocations: 0.6644 MB / 1.22 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/1.124, allocations: 0.921 MB / 1.221 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/1.128, allocations: 2.777 MB / 1.224 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/1.128, allocations: 1.244 MB / 1.225 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001085/1.13, allocations: 345.6 kB / 1.225 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/1.13, allocations: 98.25 kB / 1.225 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/1.13, allocations: 0 / 1.225 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of Templates: time 0.1564/1.286, allocations: 28.34 MB / 1.253 GB, free: 1.621 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 -s gbode -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