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.001137/0.001137, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003831, allocations: 13.23 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3302, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9163/1.247, allocations: 204.9 MB / 1.259 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01552/1.262, allocations: 9.841 MB / 1.269 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/1.265, allocations: 49.16 kB / 1.269 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/1.268, allocations: 0.669 MB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008629/1.276, allocations: 2.642 MB / 1.272 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/1.281, allocations: 1.26 MB / 1.273 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008981/1.29, allocations: 5.641 MB / 1.279 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/1.293, allocations: 1.092 MB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004051/1.297, allocations: 1.121 MB / 1.281 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00514/1.302, allocations: 1.234 MB / 1.282 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000758/1.303, allocations: 56.16 kB / 1.282 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007718/1.31, allocations: 2.739 MB / 1.285 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001652/1.312, allocations: 0.5143 MB / 1.286 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00291/1.315, allocations: 0.7737 MB / 1.286 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004797/1.32, allocations: 2.2 MB / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.32, allocations: 0 / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.188e-06/1.32, allocations: 0 / 1.289 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001045/1.32, allocations: 7.047 kB / 1.289 GB, free: 2.133 MB / 0.9981 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.004762/1.325, allocations: 1.593 MB / 1.29 GB, free: 17.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.325, allocations: 9.438 kB / 1.29 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/1.329, allocations: 489.4 kB / 1.291 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.332, allocations: 1.063 MB / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.332, allocations: 82.89 kB / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/1.332, allocations: 113.6 kB / 1.292 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/1.335, allocations: 1.155 MB / 1.293 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/1.335, allocations: 8.938 kB / 1.293 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/1.336, allocations: 48.66 kB / 1.293 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.236e-05/1.336, allocations: 42.89 kB / 1.293 GB, free: 16.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/1.338, allocations: 1.076 MB / 1.294 GB, free: 16.67 MB / 1.014 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.007958/1.346, allocations: 4.215 MB / 1.298 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.347, allocations: 0.783 MB / 1.299 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/1.348, allocations: 485.1 kB / 1.299 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/1.349, allocations: 290.1 kB / 1.3 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/1.349, allocations: 48.06 kB / 1.3 GB, free: 14.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 1.936e-05/1.349, allocations: 0 / 1.3 GB, free: 14.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.007098/1.356, allocations: 2.851 MB / 1.302 GB, free: 13.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/1.356, allocations: 69.06 kB / 1.303 GB, free: 13.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/1.358, allocations: 0.9791 MB / 1.304 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.358, allocations: 46.17 kB / 1.304 GB, free: 13.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/1.358, allocations: 0.5455 MB / 1.304 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/1.359, allocations: 310.3 kB / 1.304 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.359, allocations: 73.75 kB / 1.304 GB, free: 13.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.359, allocations: 339.3 kB / 1.305 GB, free: 12.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/1.36, allocations: 338 kB / 1.305 GB, free: 12.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/1.36, allocations: 487.9 kB / 1.306 GB, free: 12.8 MB / 1.014 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.006158/1.366, allocations: 3.049 MB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.366, allocations: 5.188 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001665/1.368, allocations: 1.007 MB / 1.31 GB, free: 12.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.368, allocations: 6.656 kB / 1.31 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.368, allocations: 3.812 kB / 1.31 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/1.368, allocations: 12.22 kB / 1.31 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/1.369, allocations: 172 kB / 1.31 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/1.369, allocations: 20.61 kB / 1.31 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.371, allocations: 84.42 kB / 1.31 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/1.371, allocations: 33.78 kB / 1.31 GB, free: 12.2 MB / 1.014 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: 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.0008586/1.372, allocations: 375.3 kB / 1.31 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/1.372, allocations: 123.2 kB / 1.31 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/1.372, allocations: 150.2 kB / 1.31 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.372, allocations: 8 kB / 1.31 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/1.372, allocations: 10.62 kB / 1.31 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001554/1.374, allocations: 1.09 MB / 1.312 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/1.379, allocations: 3.048 MB / 1.315 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.38, allocations: 8.281 kB / 1.315 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/1.38, allocations: 161.3 kB / 1.315 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/1.381, allocations: 111 kB / 1.315 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/1.381, allocations: 35.94 kB / 1.315 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/1.383, allocations: 2.868 MB / 1.318 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.383, allocations: 14.25 kB / 1.318 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/1.386, allocations: 1.738 MB / 1.319 GB, free: 7.816 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/1.387, allocations: 311.5 kB / 1.32 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/1.387, allocations: 28.64 kB / 1.32 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.388, allocations: 83.61 kB / 1.32 GB, free: 7.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.389, allocations: 91.11 kB / 1.32 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.389, allocations: 45.91 kB / 1.32 GB, free: 7.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001077/1.39, allocations: 0.6963 MB / 1.321 GB, free: 7.516 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.39, allocations: 0 / 1.321 GB, free: 7.516 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001653/1.391, allocations: 371.7 kB / 1.321 GB, free: 7.516 MB / 1.014 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.0006281/1.392, allocations: 251.6 kB / 1.321 GB, free: 7.398 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.393, allocations: 0.8259 MB / 1.322 GB, free: 7.379 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.394, allocations: 3.594 kB / 1.322 GB, free: 7.379 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/1.394, allocations: 0.6708 MB / 1.323 GB, free: 7.148 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006588/1.401, allocations: 0.8889 MB / 1.323 GB, free: 7.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/1.407, allocations: 3.44 MB / 1.327 GB, free: 5.164 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.408, allocations: 1.248 MB / 1.328 GB, free: 4.434 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.409, allocations: 107.1 kB / 1.328 GB, free: 4.426 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.409, allocations: 0 / 1.328 GB, free: 4.426 MB / 1.014 GB Notification: Performance of Templates: time 0.04186/1.451, allocations: 26.91 MB / 1.354 GB, free: 9.176 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 -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