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.006575/0.006575, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001168/0.001169, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.557/2.557, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.92 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2721, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9028/1.175, allocations: 209.9 MB / 1.293 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01388/1.189, allocations: 9.864 MB / 1.303 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/1.191, allocations: 61.36 kB / 1.303 GB, free: 3.223 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/1.193, allocations: 0.7707 MB / 1.303 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007697/1.201, allocations: 2.801 MB / 1.306 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/1.205, allocations: 1.387 MB / 1.307 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006117/1.211, allocations: 4.057 MB / 1.311 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/1.214, allocations: 1.331 MB / 1.313 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/1.217, allocations: 1.396 MB / 1.314 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/1.22, allocations: 1.238 MB / 1.315 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003419/1.22, allocations: 144.3 kB / 1.315 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005467/1.226, allocations: 2.384 MB / 1.318 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007971/1.226, allocations: 0.6016 MB / 1.318 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/1.228, allocations: 0.862 MB / 1.319 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005705/1.234, allocations: 2.992 MB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.234, allocations: 0.5625 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.234, allocations: 1.875 kB / 1.322 GB, free: 2.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.365e-05/1.234, allocations: 0 / 1.322 GB, free: 2.199 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.003063/1.237, allocations: 1.899 MB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.237, allocations: 9.438 kB / 1.324 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/1.24, allocations: 486.8 kB / 1.324 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/1.242, allocations: 1.139 MB / 1.326 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/1.242, allocations: 84.33 kB / 1.326 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/1.242, allocations: 111.1 kB / 1.326 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/1.244, allocations: 1.152 MB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/1.244, allocations: 1.875 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.244, allocations: 50.02 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/1.244, allocations: 39.91 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/1.246, allocations: 1.074 MB / 1.328 GB, free: 0.7031 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.005309/1.251, allocations: 4.194 MB / 1.332 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.252, allocations: 0.7882 MB / 1.333 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/1.253, allocations: 483.8 kB / 1.333 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/1.253, allocations: 294.3 kB / 1.334 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/1.253, allocations: 44.84 kB / 1.334 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/1.253, allocations: 0 / 1.334 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=89): time 0.00509/1.259, allocations: 2.847 MB / 1.336 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.259, allocations: 60.5 kB / 1.336 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.26, allocations: 0.9765 MB / 1.337 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/1.26, allocations: 48.55 kB / 1.337 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/1.26, allocations: 0.5408 MB / 1.338 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/1.26, allocations: 311.6 kB / 1.338 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/1.261, allocations: 159 kB / 1.338 GB, free: 12.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.261, allocations: 337.8 kB / 1.339 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/1.261, allocations: 342.8 kB / 1.339 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/1.262, allocations: 487.2 kB / 1.34 GB, free: 11.89 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.005496/1.267, allocations: 3.036 MB / 1.343 GB, free: 10.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.267, allocations: 1.875 kB / 1.343 GB, free: 10.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001852/1.269, allocations: 1.015 MB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.269, allocations: 7.656 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.269, allocations: 5.875 kB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.269, allocations: 7.609 kB / 1.344 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.271, allocations: 190.4 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/1.271, allocations: 13.47 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.272, allocations: 26.33 kB / 1.344 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.272, allocations: 34.8 kB / 1.344 GB, free: 10.16 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.0008404/1.273, allocations: 375.4 kB / 1.344 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/1.274, allocations: 127.2 kB / 1.344 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/1.274, allocations: 147.6 kB / 1.344 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.274, allocations: 11.41 kB / 1.344 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/1.274, allocations: 3.938 kB / 1.344 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/1.276, allocations: 1.094 MB / 1.346 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/1.283, allocations: 3.049 MB / 1.348 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.283, allocations: 8.438 kB / 1.348 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.284, allocations: 164.1 kB / 1.349 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/1.285, allocations: 94.38 kB / 1.349 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/1.285, allocations: 34.28 kB / 1.349 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/1.288, allocations: 3.089 MB / 1.352 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.288, allocations: 13.28 kB / 1.352 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/1.291, allocations: 1.742 MB / 1.353 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.292, allocations: 307.3 kB / 1.354 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.292, allocations: 30.84 kB / 1.354 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.294, allocations: 39.11 kB / 1.354 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.294, allocations: 93.73 kB / 1.354 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.294, allocations: 44.56 kB / 1.354 GB, free: 3.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001161/1.295, allocations: 0.6964 MB / 1.355 GB, free: 3.012 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.295, allocations: 0 / 1.355 GB, free: 3.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001201/1.296, allocations: 367.9 kB / 1.355 GB, free: 2.984 MB / 1.029 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.000512/1.297, allocations: 244.6 kB / 1.355 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001251/1.298, allocations: 0.8537 MB / 1.356 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.298, allocations: 1.781 kB / 1.356 GB, free: 2.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008401/1.299, allocations: 0.6664 MB / 1.357 GB, free: 2.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.303, allocations: 0.9366 MB / 1.358 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/1.307, allocations: 2.77 MB / 1.36 GB, free: 308 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/1.308, allocations: 1.252 MB / 1.362 GB, free: 15.52 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001137/1.309, allocations: 342.3 kB / 1.362 GB, free: 15.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.309, allocations: 104.8 kB / 1.362 GB, free: 15.43 MB / 1.045 GB Notification: Performance of SimCode: time 6.82e-07/1.309, allocations: 0 / 1.362 GB, free: 15.43 MB / 1.045 GB Notification: Performance of Templates: time 0.05072/1.36, allocations: 29.02 MB / 1.39 GB, free: 14.41 MB / 1.061 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches