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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001341/0.001341, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001313/0.001313, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.2 MB / 0.7548 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.39 kB / 0.9238 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7028, allocations: 162.2 MB / 1.082 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2423/0.9452, allocations: 207.3 MB / 1.285 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.9602, allocations: 9.814 MB / 1.294 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.9624, allocations: 51.62 kB / 1.294 GB, free: 5.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.9646, allocations: 0.6801 MB / 1.295 GB, free: 4.828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007232/0.9718, allocations: 2.645 MB / 1.298 GB, free: 2.176 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.9755, allocations: 1.276 MB / 1.299 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005561/0.9811, allocations: 4.064 MB / 1.303 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.983, allocations: 1.297 MB / 1.304 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.9867, allocations: 1.775 MB / 1.306 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.9897, allocations: 1.293 MB / 1.307 GB, free: 8.438 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.99, allocations: 147.9 kB / 1.307 GB, free: 8.293 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.9948, allocations: 2.486 MB / 1.31 GB, free: 5.801 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.9956, allocations: 0.6117 MB / 1.31 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.9968, allocations: 0.8556 MB / 1.311 GB, free: 4.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/1, allocations: 2.269 MB / 1.313 GB, free: 2.055 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1, allocations: 0 / 1.313 GB, free: 2.055 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/1, allocations: 0 / 1.313 GB, free: 2.055 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.67e-05/1, allocations: 0 / 1.313 GB, free: 2.055 MB / 1.029 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.003138/1.003, allocations: 1.896 MB / 1.315 GB, free: 104 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.003, allocations: 8.031 kB / 1.315 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/1.006, allocations: 485.7 kB / 1.316 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/1.008, allocations: 1.065 MB / 1.317 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/1.008, allocations: 86.14 kB / 1.317 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/1.008, allocations: 112 kB / 1.317 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/1.011, allocations: 1.157 MB / 1.318 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/1.011, allocations: 3.938 kB / 1.318 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.011, allocations: 48 kB / 1.318 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/1.011, allocations: 46.12 kB / 1.318 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/1.013, allocations: 1.074 MB / 1.319 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/1.019, allocations: 4.433 MB / 1.323 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.02, allocations: 0.8012 MB / 1.324 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/1.021, allocations: 479 kB / 1.325 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/1.021, allocations: 300.3 kB / 1.325 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/1.021, allocations: 43.56 kB / 1.325 GB, free: 5.492 MB / 1.045 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/1.021, allocations: 0 / 1.325 GB, free: 5.492 MB / 1.045 GB Notification: Performance of matching and sorting (n=89): time 0.005925/1.027, allocations: 2.84 MB / 1.328 GB, free: 2.566 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.027, allocations: 64.34 kB / 1.328 GB, free: 2.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.029, allocations: 0.9832 MB / 1.329 GB, free: 1.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/1.029, allocations: 45.7 kB / 1.329 GB, free: 1.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/1.029, allocations: 0.5396 MB / 1.329 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.029, allocations: 311.5 kB / 1.33 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/1.03, allocations: 158.6 kB / 1.33 GB, free: 432 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.03, allocations: 338 kB / 1.33 GB, free: 88 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/1.03, allocations: 345.9 kB / 1.33 GB, free: 15.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/1.031, allocations: 489.9 kB / 1.331 GB, free: 15.23 MB / 1.061 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.006184/1.037, allocations: 3.046 MB / 1.334 GB, free: 12.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.037, allocations: 0 / 1.334 GB, free: 12.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001713/1.039, allocations: 1.011 MB / 1.335 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.039, allocations: 9.562 kB / 1.335 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/1.039, allocations: 4.375 kB / 1.335 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.039, allocations: 8 kB / 1.335 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/1.04, allocations: 179.7 kB / 1.335 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.04, allocations: 11.98 kB / 1.335 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.041, allocations: 75.8 kB / 1.335 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/1.041, allocations: 32 kB / 1.335 GB, free: 10.77 MB / 1.061 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.000631/1.042, allocations: 385.5 kB / 1.335 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.042, allocations: 130.4 kB / 1.336 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/1.042, allocations: 148.3 kB / 1.336 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.042, allocations: 8 kB / 1.336 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.042, allocations: 0 / 1.336 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001611/1.044, allocations: 1.094 MB / 1.337 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004868/1.049, allocations: 3.051 MB / 1.34 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.049, allocations: 8 kB / 1.34 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/1.05, allocations: 167.7 kB / 1.34 GB, free: 5.523 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/1.05, allocations: 93.66 kB / 1.34 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/1.05, allocations: 31.98 kB / 1.34 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/1.053, allocations: 3.09 MB / 1.343 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.053, allocations: 15.88 kB / 1.343 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/1.055, allocations: 1.737 MB / 1.345 GB, free: 136 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/1.056, allocations: 311.5 kB / 1.345 GB, free: 15.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.056, allocations: 35.92 kB / 1.345 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/1.057, allocations: 69.5 kB / 1.345 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.057, allocations: 92.09 kB / 1.345 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/1.057, allocations: 43.98 kB / 1.345 GB, free: 15.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000956/1.058, allocations: 0.6956 MB / 1.346 GB, free: 14.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.853e-06/1.058, allocations: 3.938 kB / 1.346 GB, free: 14.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001106/1.059, allocations: 375.9 kB / 1.346 GB, free: 14.5 MB / 1.076 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.0005247/1.06, allocations: 238.8 kB / 1.347 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.062, allocations: 0.9605 MB / 1.348 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.062, allocations: 7.938 kB / 1.348 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009691/1.063, allocations: 0.6625 MB / 1.348 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/1.067, allocations: 0.9378 MB / 1.349 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/1.071, allocations: 3.325 MB / 1.352 GB, free: 8.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/1.072, allocations: 1.241 MB / 1.354 GB, free: 6.961 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/1.073, allocations: 107.4 kB / 1.354 GB, free: 6.855 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/1.073, allocations: 0 / 1.354 GB, free: 6.855 MB / 1.076 GB Notification: Performance of Templates: time 0.03821/1.111, allocations: 27.09 MB / 1.38 GB, free: 11.88 MB / 1.107 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 -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