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.002012/0.002012, allocations: 108.1 kB / 15.99 MB, free: 5.895 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.001898/0.001898, allocations: 195 kB / 16.91 MB, free: 5.746 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7427 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 68.66 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.8345/1.176, allocations: 207.2 MB / 1.267 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.194, allocations: 9.801 MB / 1.276 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/1.197, allocations: 51.69 kB / 1.276 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/1.2, allocations: 0.6801 MB / 1.277 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008728/1.209, allocations: 2.638 MB / 1.279 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004161/1.213, allocations: 1.28 MB / 1.281 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00649/1.219, allocations: 4.064 MB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/1.222, allocations: 1.296 MB / 1.286 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/1.225, allocations: 1.366 MB / 1.287 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/1.229, allocations: 1.316 MB / 1.288 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000447/1.229, allocations: 144 kB / 1.289 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005881/1.235, allocations: 2.501 MB / 1.291 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.236, allocations: 0.6079 MB / 1.292 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/1.238, allocations: 0.8594 MB / 1.292 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/1.242, allocations: 2.265 MB / 1.295 GB, free: 12.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.242, allocations: 0 / 1.295 GB, free: 12.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.434e-06/1.242, allocations: 4 kB / 1.295 GB, free: 12.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.394e-05/1.242, allocations: 0 / 1.295 GB, free: 12.82 MB / 1.014 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.004017/1.246, allocations: 1.901 MB / 1.297 GB, free: 10.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.246, allocations: 12.61 kB / 1.297 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/1.25, allocations: 489.7 kB / 1.297 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/1.252, allocations: 1.057 MB / 1.298 GB, free: 9.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-05/1.252, allocations: 86.12 kB / 1.298 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/1.252, allocations: 108 kB / 1.298 GB, free: 9.078 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/1.255, allocations: 1.153 MB / 1.299 GB, free: 7.895 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.255, allocations: 0 / 1.299 GB, free: 7.895 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/1.255, allocations: 55.94 kB / 1.299 GB, free: 7.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/1.255, allocations: 38.14 kB / 1.299 GB, free: 7.801 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/1.257, allocations: 1.074 MB / 1.301 GB, free: 6.719 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.008354/1.265, allocations: 4.233 MB / 1.305 GB, free: 2.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.267, allocations: 0.7781 MB / 1.305 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/1.268, allocations: 494.1 kB / 1.306 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/1.268, allocations: 292.3 kB / 1.306 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/1.268, allocations: 43.56 kB / 1.306 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.477e-06/1.268, allocations: 0 / 1.306 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.006635/1.275, allocations: 2.844 MB / 1.309 GB, free: 13.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.275, allocations: 64.41 kB / 1.309 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.276, allocations: 0.9716 MB / 1.31 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.277, allocations: 41.7 kB / 1.31 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/1.277, allocations: 0.5395 MB / 1.311 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/1.278, allocations: 315.4 kB / 1.311 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.278, allocations: 158.6 kB / 1.311 GB, free: 11.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.278, allocations: 345.9 kB / 1.311 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/1.279, allocations: 337.8 kB / 1.312 GB, free: 10.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/1.279, allocations: 485.9 kB / 1.312 GB, free: 10.3 MB / 1.029 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.006563/1.286, allocations: 3.046 MB / 1.315 GB, free: 7.172 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.286, allocations: 0 / 1.315 GB, free: 7.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001838/1.288, allocations: 1.012 MB / 1.316 GB, free: 6.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.288, allocations: 15.97 kB / 1.316 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.288, allocations: 4 kB / 1.316 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.288, allocations: 11.94 kB / 1.316 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007714/1.289, allocations: 179.7 kB / 1.316 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.289, allocations: 8 kB / 1.316 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.29, allocations: 71.8 kB / 1.316 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.183e-05/1.29, allocations: 41.23 kB / 1.316 GB, free: 5.828 MB / 1.029 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.0007441/1.291, allocations: 377.5 kB / 1.317 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/1.291, allocations: 134.4 kB / 1.317 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/1.291, allocations: 144.3 kB / 1.317 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.291, allocations: 8 kB / 1.317 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.291, allocations: 0 / 1.317 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0018/1.293, allocations: 1.109 MB / 1.318 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005623/1.299, allocations: 3.04 MB / 1.321 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.299, allocations: 11.98 kB / 1.321 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/1.3, allocations: 159.8 kB / 1.321 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/1.3, allocations: 97.64 kB / 1.321 GB, free: 496 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/1.3, allocations: 36.22 kB / 1.321 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/1.303, allocations: 3.09 MB / 1.324 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.303, allocations: 11.94 kB / 1.324 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/1.306, allocations: 1.741 MB / 1.326 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.307, allocations: 303.5 kB / 1.326 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/1.307, allocations: 31.98 kB / 1.326 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.308, allocations: 85.69 kB / 1.327 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.309, allocations: 84.11 kB / 1.327 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/1.309, allocations: 43.98 kB / 1.327 GB, free: 10.64 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001056/1.31, allocations: 0.6995 MB / 1.327 GB, free: 9.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.054e-06/1.31, allocations: 0 / 1.327 GB, free: 9.93 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001257/1.311, allocations: 379.9 kB / 1.328 GB, free: 9.559 MB / 1.045 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.0006098/1.312, allocations: 250 kB / 1.328 GB, free: 9.316 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.314, allocations: 0.9566 MB / 1.329 GB, free: 8.359 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.314, allocations: 4.75 kB / 1.329 GB, free: 8.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.315, allocations: 0.6658 MB / 1.33 GB, free: 7.664 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.319, allocations: 0.9246 MB / 1.33 GB, free: 6.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/1.324, allocations: 3.325 MB / 1.334 GB, free: 3.293 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.325, allocations: 1.249 MB / 1.335 GB, free: 2.008 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/1.326, allocations: 99.44 kB / 1.335 GB, free: 1.914 MB / 1.045 GB Notification: Performance of SimCode: time 1.543e-06/1.326, allocations: 0 / 1.335 GB, free: 1.914 MB / 1.045 GB Notification: Performance of Templates: time 0.04395/1.37, allocations: 27.11 MB / 1.361 GB, free: 6.945 MB / 1.076 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches