Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001591/0.001591, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001865/0.001865, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.369/1.369, 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 10.1.0-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.09 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3446, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9066/1.251, allocations: 209.9 MB / 1.224 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01589/1.267, allocations: 9.861 MB / 1.233 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/1.27, allocations: 59.62 kB / 1.233 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/1.273, allocations: 0.7765 MB / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00814/1.281, allocations: 2.801 MB / 1.237 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/1.285, allocations: 1.394 MB / 1.238 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005964/1.291, allocations: 4.064 MB / 1.242 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/1.293, allocations: 1.334 MB / 1.244 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.296, allocations: 1.358 MB / 1.245 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/1.299, allocations: 1.223 MB / 1.246 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004791/1.299, allocations: 148 kB / 1.246 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005504/1.305, allocations: 2.385 MB / 1.249 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009848/1.306, allocations: 0.6078 MB / 1.249 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/1.307, allocations: 0.8517 MB / 1.25 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005441/1.313, allocations: 3.003 MB / 1.253 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.313, allocations: 0 / 1.253 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.794e-06/1.313, allocations: 0 / 1.253 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.935e-05/1.313, allocations: 3.938 kB / 1.253 GB, free: 9.031 MB / 0.9512 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.00297/1.316, allocations: 1.897 MB / 1.255 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.316, allocations: 8.625 kB / 1.255 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002986/1.319, allocations: 489.7 kB / 1.255 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/1.321, allocations: 1.135 MB / 1.256 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/1.321, allocations: 82.14 kB / 1.256 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.321, allocations: 115.9 kB / 1.257 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/1.323, allocations: 1.149 MB / 1.258 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.323, allocations: 0 / 1.258 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.323, allocations: 47.94 kB / 1.258 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.323, allocations: 42.14 kB / 1.258 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/1.325, allocations: 1.07 MB / 1.259 GB, free: 2.863 MB / 0.9512 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.005659/1.33, allocations: 4.202 MB / 1.263 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.332, allocations: 0.7825 MB / 1.264 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/1.332, allocations: 494.6 kB / 1.264 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/1.333, allocations: 296.3 kB / 1.264 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.333, allocations: 47.56 kB / 1.264 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 2.104e-06/1.333, allocations: 0 / 1.264 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005086/1.338, allocations: 2.836 MB / 1.267 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.338, allocations: 64.41 kB / 1.267 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.339, allocations: 0.9755 MB / 1.268 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/1.339, allocations: 45.7 kB / 1.268 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/1.339, allocations: 0.5395 MB / 1.269 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/1.34, allocations: 311.4 kB / 1.269 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/1.34, allocations: 154.6 kB / 1.269 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.34, allocations: 341.9 kB / 1.27 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/1.34, allocations: 337.8 kB / 1.27 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/1.341, allocations: 493.9 kB / 1.27 GB, free: 6.465 MB / 0.9669 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.005614/1.347, allocations: 3.048 MB / 1.273 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.347, allocations: 0 / 1.273 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001506/1.348, allocations: 1.007 MB / 1.274 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.348, allocations: 11.94 kB / 1.274 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.348, allocations: 0 / 1.274 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.348, allocations: 8 kB / 1.274 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.349, allocations: 184.1 kB / 1.275 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.349, allocations: 12 kB / 1.275 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/1.35, allocations: 31.98 kB / 1.275 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/1.35, allocations: 31.94 kB / 1.275 GB, free: 2.047 MB / 0.9669 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.0005306/1.351, allocations: 383.7 kB / 1.275 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/1.351, allocations: 138.4 kB / 1.275 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.351, allocations: 148.3 kB / 1.275 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/1.351, allocations: 11.94 kB / 1.275 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.351, allocations: 3.938 kB / 1.275 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/1.353, allocations: 1.098 MB / 1.276 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/1.357, allocations: 3.039 MB / 1.279 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.357, allocations: 8 kB / 1.279 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.358, allocations: 167.7 kB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/1.358, allocations: 98.38 kB / 1.28 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/1.358, allocations: 35.98 kB / 1.28 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/1.36, allocations: 3.094 MB / 1.283 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.914e-06/1.36, allocations: 11.94 kB / 1.283 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.363, allocations: 1.737 MB / 1.284 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005837/1.363, allocations: 303.7 kB / 1.285 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.363, allocations: 39.98 kB / 1.285 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000861/1.364, allocations: 41.42 kB / 1.285 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.364, allocations: 84.11 kB / 1.285 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/1.364, allocations: 47.98 kB / 1.285 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008526/1.365, allocations: 0.6917 MB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/1.365, allocations: 0 / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001054/1.366, allocations: 376 kB / 1.286 GB, free: 5.816 MB / 0.9825 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.0005042/1.367, allocations: 243.2 kB / 1.286 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.368, allocations: 0.8441 MB / 1.287 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.368, allocations: 0 / 1.287 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008884/1.369, allocations: 0.6735 MB / 1.288 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.373, allocations: 0.931 MB / 1.288 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/1.377, allocations: 2.772 MB / 1.291 GB, free: 212 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/1.378, allocations: 1.257 MB / 1.292 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001159/1.379, allocations: 347 kB / 1.293 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/1.38, allocations: 95.44 kB / 1.293 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.38, allocations: 0 / 1.293 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.04364/1.423, allocations: 28.32 MB / 1.32 GB, free: 2.543 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches