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.001693/0.001693, allocations: 104.9 kB / 16.27 MB, free: 5.863 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.001807/0.001807, allocations: 186.9 kB / 17.2 MB, free: 5.508 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 482.4 MB / 0.7553 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.7 kB / 0.9245 GB, free: 44 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7833, allocations: 162.2 MB / 1.083 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2493/1.033, allocations: 210 MB / 1.288 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01525/1.048, allocations: 9.897 MB / 1.298 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/1.05, allocations: 63.62 kB / 1.298 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/1.052, allocations: 0.761 MB / 1.298 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006738/1.059, allocations: 2.804 MB / 1.301 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/1.062, allocations: 1.372 MB / 1.303 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0053/1.067, allocations: 4.064 MB / 1.306 GB, free: 9.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/1.069, allocations: 1.329 MB / 1.308 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/1.073, allocations: 1.752 MB / 1.309 GB, free: 6.219 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/1.075, allocations: 1.206 MB / 1.311 GB, free: 5.016 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/1.075, allocations: 144 kB / 1.311 GB, free: 4.875 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/1.08, allocations: 2.358 MB / 1.313 GB, free: 2.512 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007925/1.081, allocations: 0.6039 MB / 1.314 GB, free: 1.906 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/1.082, allocations: 0.8595 MB / 1.315 GB, free: 1.043 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004869/1.087, allocations: 2.972 MB / 1.317 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.087, allocations: 0 / 1.317 GB, free: 14.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/1.087, allocations: 0 / 1.317 GB, free: 14.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.683e-05/1.087, allocations: 0 / 1.317 GB, free: 14.06 MB / 1.045 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.003321/1.091, allocations: 1.896 MB / 1.319 GB, free: 12.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.091, allocations: 12.02 kB / 1.319 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/1.094, allocations: 493.6 kB / 1.32 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.096, allocations: 1.065 MB / 1.321 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/1.096, allocations: 90.12 kB / 1.321 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.096, allocations: 108 kB / 1.321 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.098, allocations: 1.157 MB / 1.322 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.098, allocations: 3.938 kB / 1.322 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.098, allocations: 44 kB / 1.322 GB, free: 9.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/1.098, allocations: 42.14 kB / 1.322 GB, free: 9.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/1.1, allocations: 1.074 MB / 1.323 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006748/1.107, allocations: 4.465 MB / 1.328 GB, free: 3.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/1.108, allocations: 0.7975 MB / 1.328 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/1.109, allocations: 486.1 kB / 1.329 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004344/1.109, allocations: 300.3 kB / 1.329 GB, free: 1.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/1.109, allocations: 43.56 kB / 1.329 GB, free: 1.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=83): time 2.575e-06/1.109, allocations: 0 / 1.329 GB, free: 1.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=89): time 0.005874/1.115, allocations: 2.844 MB / 1.332 GB, free: 14.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.115, allocations: 72.41 kB / 1.332 GB, free: 14.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.117, allocations: 0.9715 MB / 1.333 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/1.117, allocations: 45.7 kB / 1.333 GB, free: 13.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/1.117, allocations: 0.5357 MB / 1.334 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/1.118, allocations: 315.4 kB / 1.334 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.118, allocations: 158.6 kB / 1.334 GB, free: 12.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.118, allocations: 337.9 kB / 1.334 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/1.119, allocations: 341.8 kB / 1.335 GB, free: 11.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/1.119, allocations: 489.9 kB / 1.335 GB, free: 11.2 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.006292/1.126, allocations: 3.044 MB / 1.338 GB, free: 8.074 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.126, allocations: 4 kB / 1.338 GB, free: 8.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00175/1.127, allocations: 1.007 MB / 1.339 GB, free: 7.055 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.127, allocations: 11.98 kB / 1.339 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.127, allocations: 4 kB / 1.339 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.127, allocations: 4.375 kB / 1.339 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/1.128, allocations: 187.7 kB / 1.339 GB, free: 6.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.128, allocations: 11.98 kB / 1.339 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/1.129, allocations: 20 kB / 1.339 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.627e-05/1.129, allocations: 39.98 kB / 1.339 GB, free: 6.781 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.0006168/1.13, allocations: 373.8 kB / 1.34 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.13, allocations: 134.4 kB / 1.34 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/1.13, allocations: 144.3 kB / 1.34 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.13, allocations: 12 kB / 1.34 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.13, allocations: 4 kB / 1.34 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001665/1.132, allocations: 1.101 MB / 1.341 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/1.137, allocations: 3.043 MB / 1.344 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.137, allocations: 8 kB / 1.344 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/1.138, allocations: 164.6 kB / 1.344 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003423/1.138, allocations: 101.6 kB / 1.344 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/1.138, allocations: 28 kB / 1.344 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/1.141, allocations: 3.086 MB / 1.347 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.476e-05/1.141, allocations: 16.12 kB / 1.347 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/1.144, allocations: 1.741 MB / 1.349 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/1.144, allocations: 307.5 kB / 1.349 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.145, allocations: 35.92 kB / 1.349 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008873/1.145, allocations: 41.98 kB / 1.349 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/1.146, allocations: 92.11 kB / 1.35 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/1.146, allocations: 47.97 kB / 1.35 GB, free: 11.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009909/1.147, allocations: 0.6956 MB / 1.35 GB, free: 10.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.147, allocations: 0 / 1.35 GB, free: 10.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001175/1.148, allocations: 372 kB / 1.351 GB, free: 10.56 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.000521/1.148, allocations: 242.9 kB / 1.351 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001659/1.15, allocations: 0.9605 MB / 1.352 GB, free: 9.359 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.15, allocations: 0 / 1.352 GB, free: 9.359 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.151, allocations: 0.6694 MB / 1.352 GB, free: 8.664 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/1.155, allocations: 0.9317 MB / 1.353 GB, free: 7.762 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/1.16, allocations: 2.874 MB / 1.356 GB, free: 4.738 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.161, allocations: 1.241 MB / 1.357 GB, free: 3.465 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.161, allocations: 107.4 kB / 1.357 GB, free: 3.359 MB / 1.076 GB Notification: Performance of SimCode: time 7.52e-07/1.161, allocations: 0 / 1.357 GB, free: 3.359 MB / 1.076 GB Notification: Performance of Templates: time 0.03964/1.201, allocations: 27.1 MB / 1.384 GB, free: 8.387 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=400 -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