Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007618/0.007618, allocations: 98.58 kB / 15.73 MB, free: 5.527 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.001809/0.001809, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7425 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.88 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 159.1 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.924/1.258, allocations: 210.4 MB / 1.426 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01553/1.273, allocations: 9.887 MB / 1.436 GB, free: 7.926 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/1.276, allocations: 61.62 kB / 1.436 GB, free: 7.902 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002757/1.279, allocations: 0.8094 MB / 1.437 GB, free: 7.234 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009933/1.289, allocations: 2.911 MB / 1.44 GB, free: 4.98 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005287/1.294, allocations: 1.399 MB / 1.441 GB, free: 3.594 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007882/1.302, allocations: 4.062 MB / 1.445 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/1.304, allocations: 1.106 MB / 1.446 GB, free: 14.38 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/1.308, allocations: 1.425 MB / 1.447 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/1.311, allocations: 1.236 MB / 1.449 GB, free: 11.73 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003458/1.311, allocations: 144 kB / 1.449 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/1.316, allocations: 2.397 MB / 1.451 GB, free: 9.188 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008953/1.317, allocations: 0.627 MB / 1.452 GB, free: 8.559 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.319, allocations: 0.8517 MB / 1.452 GB, free: 7.703 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005899/1.324, allocations: 3.01 MB / 1.455 GB, free: 4.684 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.324, allocations: 0 / 1.455 GB, free: 4.684 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.964e-06/1.324, allocations: 0 / 1.455 GB, free: 4.684 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.045e-05/1.325, allocations: 0 / 1.455 GB, free: 4.684 MB / 1.139 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.00424/1.329, allocations: 1.96 MB / 1.457 GB, free: 2.664 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.329, allocations: 11.97 kB / 1.457 GB, free: 2.652 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/1.334, allocations: 498.5 kB / 1.458 GB, free: 2.164 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.337, allocations: 1.133 MB / 1.459 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/1.337, allocations: 86.14 kB / 1.459 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/1.337, allocations: 108 kB / 1.459 GB, free: 0.7969 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/1.34, allocations: 1.153 MB / 1.46 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/1.34, allocations: 7.938 kB / 1.46 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.34, allocations: 51.94 kB / 1.46 GB, free: 15.55 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/1.34, allocations: 38.14 kB / 1.46 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.342, allocations: 1.074 MB / 1.461 GB, free: 14.43 MB / 1.154 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.005846/1.347, allocations: 4.205 MB / 1.465 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/1.349, allocations: 0.7523 MB / 1.466 GB, free: 9.188 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/1.349, allocations: 462.7 kB / 1.467 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/1.35, allocations: 296.3 kB / 1.467 GB, free: 8.391 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/1.35, allocations: 47.55 kB / 1.467 GB, free: 8.332 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/1.35, allocations: 0 / 1.467 GB, free: 8.332 MB / 1.154 GB Notification: Performance of matching and sorting (n=89): time 0.005365/1.355, allocations: 2.858 MB / 1.47 GB, free: 5.391 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/1.355, allocations: 64.34 kB / 1.47 GB, free: 5.316 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.356, allocations: 0.9715 MB / 1.471 GB, free: 4.328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/1.356, allocations: 53.69 kB / 1.471 GB, free: 4.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/1.357, allocations: 0.5443 MB / 1.471 GB, free: 3.719 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.357, allocations: 329.2 kB / 1.472 GB, free: 3.395 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.357, allocations: 158.6 kB / 1.472 GB, free: 3.23 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.358, allocations: 345.9 kB / 1.472 GB, free: 2.887 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/1.358, allocations: 337.8 kB / 1.472 GB, free: 2.559 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/1.359, allocations: 483.5 kB / 1.473 GB, free: 2.051 MB / 1.154 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.005935/1.365, allocations: 3.046 MB / 1.476 GB, free: 14.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.365, allocations: 0 / 1.476 GB, free: 14.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001577/1.366, allocations: 1.016 MB / 1.477 GB, free: 13.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.366, allocations: 11.94 kB / 1.477 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.366, allocations: 4 kB / 1.477 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.366, allocations: 7.938 kB / 1.477 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/1.367, allocations: 183.7 kB / 1.477 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.367, allocations: 8 kB / 1.477 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/1.368, allocations: 31.88 kB / 1.477 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/1.368, allocations: 32 kB / 1.477 GB, free: 13.62 MB / 1.17 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.0006639/1.369, allocations: 385.5 kB / 1.478 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/1.369, allocations: 135.6 kB / 1.478 GB, free: 13.1 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/1.369, allocations: 148.3 kB / 1.478 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.369, allocations: 11.94 kB / 1.478 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.369, allocations: 4 kB / 1.478 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/1.371, allocations: 1.09 MB / 1.479 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/1.375, allocations: 3.056 MB / 1.482 GB, free: 8.543 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.375, allocations: 8 kB / 1.482 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/1.376, allocations: 163.7 kB / 1.482 GB, free: 8.375 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/1.376, allocations: 97.69 kB / 1.482 GB, free: 8.273 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/1.376, allocations: 28 kB / 1.482 GB, free: 8.246 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/1.379, allocations: 3.094 MB / 1.485 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/1.379, allocations: 15.94 kB / 1.485 GB, free: 4.859 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/1.382, allocations: 1.742 MB / 1.487 GB, free: 2.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/1.382, allocations: 312.2 kB / 1.487 GB, free: 2.656 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.382, allocations: 24 kB / 1.487 GB, free: 2.633 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/1.383, allocations: 49.03 kB / 1.487 GB, free: 2.586 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.383, allocations: 88.11 kB / 1.487 GB, free: 2.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/1.383, allocations: 43.98 kB / 1.487 GB, free: 2.457 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008873/1.384, allocations: 0.6995 MB / 1.488 GB, free: 1.75 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/1.384, allocations: 0 / 1.488 GB, free: 1.75 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001083/1.385, allocations: 371.9 kB / 1.488 GB, free: 1.387 MB / 1.17 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.000468/1.386, allocations: 239.2 kB / 1.489 GB, free: 1.156 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001313/1.387, allocations: 0.816 MB / 1.489 GB, free: 340 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.387, allocations: 0 / 1.489 GB, free: 340 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009328/1.388, allocations: 0.6616 MB / 1.49 GB, free: 15.64 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/1.392, allocations: 0.9269 MB / 1.491 GB, free: 14.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/1.396, allocations: 2.819 MB / 1.494 GB, free: 11.77 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/1.397, allocations: 1.249 MB / 1.495 GB, free: 10.49 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001143/1.398, allocations: 339 kB / 1.495 GB, free: 10.15 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/1.398, allocations: 99.44 kB / 1.495 GB, free: 10.05 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/1.398, allocations: 4 kB / 1.495 GB, free: 10.05 MB / 1.186 GB Notification: Performance of Templates: time 0.04517/1.443, allocations: 28.71 MB / 1.523 GB, free: 13.72 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches