Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001101/0.001101, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001084/0.001084, allocations: 191 kB / 17.29 MB, free: 5.516 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.77 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2709, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.645/0.9159, allocations: 209.9 MB / 1.232 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.9302, allocations: 9.871 MB / 1.241 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.9325, allocations: 59.62 kB / 1.241 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.9346, allocations: 0.7649 MB / 1.242 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006997/0.9416, allocations: 2.808 MB / 1.245 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.9451, allocations: 1.379 MB / 1.246 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00503/0.9502, allocations: 4.062 MB / 1.25 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.9519, allocations: 1.334 MB / 1.251 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002204/0.9541, allocations: 1.362 MB / 1.253 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.9564, allocations: 1.228 MB / 1.254 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.9566, allocations: 144 kB / 1.254 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.9612, allocations: 2.381 MB / 1.256 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.962, allocations: 0.6078 MB / 1.257 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.9631, allocations: 0.8556 MB / 1.258 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.968, allocations: 2.999 MB / 1.261 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.968, allocations: 4 kB / 1.261 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.968, allocations: 0 / 1.261 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.515e-05/0.9681, allocations: 3.938 kB / 1.261 GB, free: 13.48 MB / 0.9669 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.002991/0.9711, allocations: 1.893 MB / 1.263 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.9711, allocations: 12.03 kB / 1.263 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003179/0.9743, allocations: 489.6 kB / 1.263 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.9766, allocations: 1.128 MB / 1.264 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.9767, allocations: 82.14 kB / 1.264 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.9768, allocations: 108 kB / 1.264 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.9787, allocations: 1.157 MB / 1.266 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.9788, allocations: 0 / 1.266 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.9789, allocations: 51.94 kB / 1.266 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.979, allocations: 46.12 kB / 1.266 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.9806, allocations: 1.074 MB / 1.267 GB, free: 7.309 MB / 0.9669 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.005932/0.9866, allocations: 4.2 MB / 1.271 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.9877, allocations: 0.7868 MB / 1.272 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.9884, allocations: 486.7 kB / 1.272 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/0.9888, allocations: 292.3 kB / 1.272 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.9888, allocations: 47.56 kB / 1.272 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 3.006e-06/0.9888, allocations: 0 / 1.272 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005299/0.9941, allocations: 2.844 MB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.9942, allocations: 60.41 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.9954, allocations: 0.9716 MB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.9955, allocations: 45.7 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.9959, allocations: 0.5395 MB / 1.277 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.9961, allocations: 315.4 kB / 1.277 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.9964, allocations: 162.6 kB / 1.277 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9965, allocations: 337.9 kB / 1.278 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.997, allocations: 341.8 kB / 1.278 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.9977, allocations: 485.9 kB / 1.278 GB, free: 10.91 MB / 0.9825 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.005973/1.004, allocations: 3.041 MB / 1.281 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.004, allocations: 4 kB / 1.281 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001566/1.005, allocations: 1.012 MB / 1.282 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.005, allocations: 12 kB / 1.282 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.005, allocations: 4.047 kB / 1.282 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.005, allocations: 11.98 kB / 1.282 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/1.006, allocations: 183.7 kB / 1.282 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.006, allocations: 4 kB / 1.282 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/1.007, allocations: 24 kB / 1.283 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/1.007, allocations: 35.98 kB / 1.283 GB, free: 6.492 MB / 0.9825 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.0005677/1.008, allocations: 378.8 kB / 1.283 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.008, allocations: 134.4 kB / 1.283 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/1.008, allocations: 148.2 kB / 1.283 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.008, allocations: 12 kB / 1.283 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.008, allocations: 0 / 1.283 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/1.01, allocations: 1.098 MB / 1.284 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/1.014, allocations: 3.039 MB / 1.287 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.014, allocations: 16.25 kB / 1.287 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007225/1.015, allocations: 167.7 kB / 1.287 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/1.016, allocations: 97.64 kB / 1.287 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/1.016, allocations: 28 kB / 1.288 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/1.018, allocations: 3.082 MB / 1.291 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/1.018, allocations: 15.94 kB / 1.291 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/1.02, allocations: 1.733 MB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/1.021, allocations: 307.5 kB / 1.293 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.021, allocations: 31.98 kB / 1.293 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009203/1.022, allocations: 43.36 kB / 1.293 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.022, allocations: 88.16 kB / 1.293 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-05/1.022, allocations: 56.05 kB / 1.293 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008864/1.023, allocations: 0.6956 MB / 1.293 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.023, allocations: 0 / 1.293 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001042/1.024, allocations: 368 kB / 1.294 GB, free: 10.29 MB / 0.9981 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.0004769/1.025, allocations: 253 kB / 1.294 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001308/1.026, allocations: 0.8434 MB / 1.295 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.026, allocations: 7.938 kB / 1.295 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/1.027, allocations: 0.6665 MB / 1.295 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.03, allocations: 0.9235 MB / 1.296 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/1.035, allocations: 2.78 MB / 1.299 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008365/1.036, allocations: 1.253 MB / 1.3 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001182/1.037, allocations: 335 kB / 1.301 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.037, allocations: 103.4 kB / 1.301 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.037, allocations: 0 / 1.301 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of Templates: time 0.0467/1.084, allocations: 28.35 MB / 1.328 GB, free: 6.957 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches