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.001489/0.001489, allocations: 112.6 kB / 16.37 MB, free: 6 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.001248/0.001249, allocations: 196 kB / 17.31 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002218, allocations: 67.56 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4025, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7934/1.196, allocations: 209.9 MB / 1.232 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01514/1.211, allocations: 9.869 MB / 1.241 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/1.213, allocations: 63.62 kB / 1.241 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/1.215, allocations: 0.7687 MB / 1.242 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007305/1.223, allocations: 2.808 MB / 1.245 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00382/1.226, allocations: 1.392 MB / 1.246 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005742/1.232, allocations: 4.061 MB / 1.25 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/1.234, allocations: 1.332 MB / 1.252 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/1.237, allocations: 1.35 MB / 1.253 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/1.24, allocations: 1.233 MB / 1.254 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/1.241, allocations: 144 kB / 1.254 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/1.246, allocations: 2.381 MB / 1.256 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009549/1.247, allocations: 0.6039 MB / 1.257 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/1.249, allocations: 0.8634 MB / 1.258 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00591/1.255, allocations: 2.999 MB / 1.261 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.255, allocations: 0 / 1.261 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.24e-06/1.255, allocations: 3.984 kB / 1.261 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.787e-05/1.255, allocations: 0 / 1.261 GB, free: 13.59 MB / 0.9669 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.003697/1.258, allocations: 1.897 MB / 1.263 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.259, allocations: 8.75 kB / 1.263 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/1.262, allocations: 485.6 kB / 1.263 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.264, allocations: 1.132 MB / 1.264 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/1.264, allocations: 86.12 kB / 1.264 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/1.264, allocations: 108 kB / 1.264 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.267, allocations: 1.149 MB / 1.266 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/1.267, allocations: 4 kB / 1.266 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.267, allocations: 47.94 kB / 1.266 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/1.267, allocations: 46.12 kB / 1.266 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.269, allocations: 1.074 MB / 1.267 GB, free: 7.426 MB / 0.9669 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.006685/1.275, allocations: 4.204 MB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.277, allocations: 0.787 MB / 1.272 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/1.277, allocations: 486.7 kB / 1.272 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/1.278, allocations: 292.3 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/1.278, allocations: 43.56 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=83): time 2.745e-06/1.278, allocations: 0 / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89): time 0.005741/1.283, allocations: 2.848 MB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/1.284, allocations: 64.41 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.285, allocations: 0.9716 MB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/1.285, allocations: 41.7 kB / 1.276 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/1.285, allocations: 0.5395 MB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/1.286, allocations: 315.4 kB / 1.277 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.286, allocations: 162.6 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.286, allocations: 337.9 kB / 1.278 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/1.287, allocations: 345.8 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/1.287, allocations: 485.9 kB / 1.278 GB, free: 11.02 MB / 0.9825 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.006065/1.293, allocations: 3.046 MB / 1.281 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.293, allocations: 4 kB / 1.281 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001697/1.295, allocations: 1.004 MB / 1.282 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.295, allocations: 13.97 kB / 1.282 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.295, allocations: 11.92 kB / 1.282 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.295, allocations: 8.375 kB / 1.282 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/1.296, allocations: 179.7 kB / 1.282 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.296, allocations: 11.94 kB / 1.283 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.297, allocations: 24 kB / 1.283 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/1.297, allocations: 39.98 kB / 1.283 GB, free: 6.594 MB / 0.9825 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.0007016/1.298, allocations: 366.1 kB / 1.283 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.298, allocations: 130.4 kB / 1.283 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/1.298, allocations: 152.2 kB / 1.283 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.298, allocations: 12 kB / 1.283 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/1.298, allocations: 4 kB / 1.283 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/1.3, allocations: 1.101 MB / 1.284 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/1.305, allocations: 3.035 MB / 1.287 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.305, allocations: 8 kB / 1.287 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/1.306, allocations: 168.6 kB / 1.287 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/1.306, allocations: 101.6 kB / 1.288 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/1.306, allocations: 31.94 kB / 1.288 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/1.309, allocations: 3.083 MB / 1.291 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.309, allocations: 15.94 kB / 1.291 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/1.311, allocations: 1.737 MB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/1.312, allocations: 307.5 kB / 1.293 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.312, allocations: 31.92 kB / 1.293 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/1.313, allocations: 45.55 kB / 1.293 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.313, allocations: 88.11 kB / 1.293 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/1.313, allocations: 47.97 kB / 1.293 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009157/1.314, allocations: 0.6956 MB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.314, allocations: 7.938 kB / 1.293 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001088/1.315, allocations: 372 kB / 1.294 GB, free: 10.38 MB / 0.9981 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.0005117/1.316, allocations: 237.7 kB / 1.294 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.317, allocations: 0.848 MB / 1.295 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.317, allocations: 4 kB / 1.295 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009838/1.318, allocations: 0.67 MB / 1.296 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/1.322, allocations: 0.922 MB / 1.296 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/1.326, allocations: 2.778 MB / 1.299 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/1.327, allocations: 1.253 MB / 1.3 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001163/1.328, allocations: 339 kB / 1.301 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/1.328, allocations: 103.4 kB / 1.301 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.328, allocations: 0 / 1.301 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of Templates: time 0.04754/1.376, allocations: 28.33 MB / 1.328 GB, free: 7.07 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 -s cvode -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