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.001392/0.001392, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001393/0.001393, allocations: 187 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.89 kB / 0.9516 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8847, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2453/1.13, allocations: 209.9 MB / 1.294 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01712/1.147, allocations: 9.877 MB / 1.303 GB, free: 1.855 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/1.151, allocations: 63.62 kB / 1.303 GB, free: 1.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/1.153, allocations: 0.796 MB / 1.304 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008356/1.162, allocations: 2.913 MB / 1.307 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/1.166, allocations: 1.385 MB / 1.308 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006485/1.173, allocations: 4.084 MB / 1.312 GB, free: 8.594 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/1.175, allocations: 1.332 MB / 1.314 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/1.178, allocations: 1.417 MB / 1.315 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003288/1.181, allocations: 1.231 MB / 1.316 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005513/1.182, allocations: 144 kB / 1.316 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/1.188, allocations: 2.404 MB / 1.319 GB, free: 2.031 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/1.189, allocations: 0.6039 MB / 1.319 GB, free: 1.426 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002334/1.192, allocations: 0.8517 MB / 1.32 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00714/1.199, allocations: 3.007 MB / 1.323 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.199, allocations: 0 / 1.323 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.925e-06/1.199, allocations: 0 / 1.323 GB, free: 13.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.466e-05/1.199, allocations: 0 / 1.323 GB, free: 13.55 MB / 1.061 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.004727/1.204, allocations: 1.9 MB / 1.325 GB, free: 11.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.204, allocations: 8.031 kB / 1.325 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/1.207, allocations: 485.7 kB / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/1.21, allocations: 1.131 MB / 1.326 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/1.21, allocations: 82.14 kB / 1.327 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.21, allocations: 112 kB / 1.327 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/1.212, allocations: 1.153 MB / 1.328 GB, free: 8.559 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.212, allocations: 3.938 kB / 1.328 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.212, allocations: 44 kB / 1.328 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/1.212, allocations: 42.14 kB / 1.328 GB, free: 8.469 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/1.214, allocations: 1.07 MB / 1.329 GB, free: 7.391 MB / 1.061 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.006348/1.22, allocations: 4.2 MB / 1.333 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.222, allocations: 0.7902 MB / 1.334 GB, free: 2.105 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006329/1.222, allocations: 494.7 kB / 1.334 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/1.223, allocations: 292.3 kB / 1.334 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.223, allocations: 47.56 kB / 1.335 GB, free: 1.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.815e-06/1.223, allocations: 0 / 1.335 GB, free: 1.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=89): time 0.005693/1.228, allocations: 2.836 MB / 1.337 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/1.229, allocations: 64.39 kB / 1.337 GB, free: 14.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.23, allocations: 0.9793 MB / 1.338 GB, free: 13.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.23, allocations: 45.7 kB / 1.338 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/1.23, allocations: 0.5357 MB / 1.339 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/1.231, allocations: 307.5 kB / 1.339 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.231, allocations: 162.5 kB / 1.339 GB, free: 12.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.231, allocations: 346 kB / 1.34 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/1.232, allocations: 341.8 kB / 1.34 GB, free: 11.49 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/1.232, allocations: 481.9 kB / 1.34 GB, free: 10.98 MB / 1.076 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.005961/1.238, allocations: 3.053 MB / 1.343 GB, free: 7.848 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.238, allocations: 0 / 1.343 GB, free: 7.848 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001752/1.24, allocations: 1.007 MB / 1.344 GB, free: 6.828 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.24, allocations: 8 kB / 1.344 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.24, allocations: 0 / 1.344 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/1.24, allocations: 12.36 kB / 1.344 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/1.241, allocations: 183.8 kB / 1.345 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.576e-05/1.241, allocations: 11.98 kB / 1.345 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/1.242, allocations: 24 kB / 1.345 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/1.242, allocations: 31.98 kB / 1.345 GB, free: 6.562 MB / 1.076 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.0006823/1.243, allocations: 385.5 kB / 1.345 GB, free: 6.176 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/1.243, allocations: 130.4 kB / 1.345 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/1.244, allocations: 148.3 kB / 1.345 GB, free: 5.895 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.244, allocations: 12 kB / 1.345 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.244, allocations: 0 / 1.345 GB, free: 5.883 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/1.245, allocations: 1.098 MB / 1.346 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/1.25, allocations: 3.043 MB / 1.349 GB, free: 1.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/1.25, allocations: 12.94 kB / 1.349 GB, free: 1.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/1.251, allocations: 163.7 kB / 1.35 GB, free: 1.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/1.252, allocations: 105.6 kB / 1.35 GB, free: 1.207 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/1.252, allocations: 28 kB / 1.35 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/1.254, allocations: 3.086 MB / 1.353 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.254, allocations: 11.94 kB / 1.353 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/1.257, allocations: 1.741 MB / 1.354 GB, free: 11.92 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007083/1.258, allocations: 299.5 kB / 1.355 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/1.258, allocations: 39.92 kB / 1.355 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.259, allocations: 35.98 kB / 1.355 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.259, allocations: 88.11 kB / 1.355 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/1.259, allocations: 51.91 kB / 1.355 GB, free: 11.4 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009536/1.26, allocations: 0.6917 MB / 1.356 GB, free: 10.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.26, allocations: 4 kB / 1.356 GB, free: 10.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001151/1.261, allocations: 376 kB / 1.356 GB, free: 10.33 MB / 1.092 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.0005609/1.262, allocations: 242.7 kB / 1.356 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.263, allocations: 0.8441 MB / 1.357 GB, free: 9.246 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.263, allocations: 0 / 1.357 GB, free: 9.246 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009514/1.264, allocations: 0.6734 MB / 1.358 GB, free: 8.551 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004126/1.268, allocations: 0.9219 MB / 1.359 GB, free: 7.648 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/1.273, allocations: 2.837 MB / 1.361 GB, free: 4.66 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/1.274, allocations: 1.249 MB / 1.363 GB, free: 3.379 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/1.274, allocations: 103.4 kB / 1.363 GB, free: 3.277 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.274, allocations: 0 / 1.363 GB, free: 3.277 MB / 1.092 GB Notification: Performance of Templates: time 0.03907/1.313, allocations: 27.23 MB / 1.389 GB, free: 8.195 MB / 1.123 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