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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 196.8 kB / 16.14 MB, free: 6.723 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 474.4 MB / 0.7465 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 65.64 kB / 0.9135 GB, free: 32.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3528, allocations: 160.3 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9384/1.291, allocations: 207.6 MB / 1.273 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01276/1.304, allocations: 9.947 MB / 1.283 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/1.306, allocations: 52.97 kB / 1.283 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/1.309, allocations: 0.6631 MB / 1.283 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007983/1.317, allocations: 2.648 MB / 1.286 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003748/1.32, allocations: 1.253 MB / 1.287 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008236/1.329, allocations: 5.639 MB / 1.293 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.331, allocations: 1.123 MB / 1.294 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/1.334, allocations: 1.162 MB / 1.295 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/1.337, allocations: 1.268 MB / 1.296 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000329/1.337, allocations: 70.31 kB / 1.296 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008311/1.346, allocations: 2.766 MB / 1.299 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.347, allocations: 0.5372 MB / 1.299 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002522/1.349, allocations: 0.7765 MB / 1.3 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0061/1.356, allocations: 3.077 MB / 1.303 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.356, allocations: 0 / 1.303 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.012e-06/1.356, allocations: 0 / 1.303 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.652e-05/1.356, allocations: 1.531 kB / 1.303 GB, free: 4.895 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.0035/1.359, allocations: 1.905 MB / 1.305 GB, free: 19.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.359, allocations: 8.938 kB / 1.305 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/1.363, allocations: 488.4 kB / 1.305 GB, free: 19.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/1.364, allocations: 1.066 MB / 1.306 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/1.365, allocations: 85.16 kB / 1.307 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.365, allocations: 115.6 kB / 1.307 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/1.367, allocations: 1.152 MB / 1.308 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/1.367, allocations: 0 / 1.308 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.367, allocations: 48.27 kB / 1.308 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/1.367, allocations: 48.88 kB / 1.308 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/1.369, allocations: 1.074 MB / 1.309 GB, free: 19.38 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.006247/1.375, allocations: 4.21 MB / 1.313 GB, free: 17.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.376, allocations: 0.7924 MB / 1.314 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/1.377, allocations: 479.3 kB / 1.314 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/1.378, allocations: 297.5 kB / 1.315 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.378, allocations: 50.59 kB / 1.315 GB, free: 17.35 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.715e-06/1.378, allocations: 0 / 1.315 GB, free: 17.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005874/1.383, allocations: 2.845 MB / 1.317 GB, free: 16.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.384, allocations: 59.66 kB / 1.317 GB, free: 16.51 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/1.385, allocations: 0.9788 MB / 1.318 GB, free: 16.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/1.385, allocations: 44.52 kB / 1.318 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/1.385, allocations: 0.5397 MB / 1.319 GB, free: 16.12 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.386, allocations: 313.9 kB / 1.319 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.386, allocations: 154.4 kB / 1.319 GB, free: 15.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.386, allocations: 342.1 kB / 1.32 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/1.386, allocations: 339.3 kB / 1.32 GB, free: 15.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/1.387, allocations: 490 kB / 1.32 GB, free: 15.48 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.005521/1.393, allocations: 3.041 MB / 1.323 GB, free: 15.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.393, allocations: 2.688 kB / 1.323 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001479/1.394, allocations: 1.009 MB / 1.324 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/1.394, allocations: 13.58 kB / 1.324 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.394, allocations: 7.938 kB / 1.324 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.394, allocations: 8.656 kB / 1.324 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/1.395, allocations: 177.1 kB / 1.325 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.395, allocations: 7.938 kB / 1.325 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.396, allocations: 82.7 kB / 1.325 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.396, allocations: 31.75 kB / 1.325 GB, free: 14.88 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 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.0007028/1.397, allocations: 387.6 kB / 1.325 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.397, allocations: 126.9 kB / 1.325 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/1.397, allocations: 145.6 kB / 1.325 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/1.397, allocations: 8.125 kB / 1.325 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/1.397, allocations: 1.938 kB / 1.325 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/1.399, allocations: 1.099 MB / 1.326 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/1.404, allocations: 3.048 MB / 1.329 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.404, allocations: 7.719 kB / 1.329 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/1.404, allocations: 165.2 kB / 1.33 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/1.405, allocations: 100.4 kB / 1.33 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/1.405, allocations: 32.22 kB / 1.33 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/1.407, allocations: 2.872 MB / 1.333 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.339e-05/1.407, allocations: 13.09 kB / 1.333 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.41, allocations: 1.741 MB / 1.334 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/1.411, allocations: 303.5 kB / 1.335 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.411, allocations: 30.69 kB / 1.335 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.412, allocations: 77.27 kB / 1.335 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.412, allocations: 90.28 kB / 1.335 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/1.412, allocations: 47.64 kB / 1.335 GB, free: 9.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001011/1.413, allocations: 0.6959 MB / 1.335 GB, free: 9.215 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.413, allocations: 3.938 kB / 1.335 GB, free: 9.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00132/1.414, allocations: 372.5 kB / 1.336 GB, free: 9.184 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.0005493/1.415, allocations: 247.4 kB / 1.336 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001343/1.416, allocations: 0.8232 MB / 1.337 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.416, allocations: 3.281 kB / 1.337 GB, free: 8.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/1.417, allocations: 0.6743 MB / 1.338 GB, free: 8.434 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.421, allocations: 0.8896 MB / 1.338 GB, free: 8.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/1.426, allocations: 3.253 MB / 1.342 GB, free: 6.082 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/1.427, allocations: 1.256 MB / 1.343 GB, free: 5.305 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001536/1.428, allocations: 338.1 kB / 1.343 GB, free: 5.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/1.429, allocations: 97.7 kB / 1.343 GB, free: 5.223 MB / 1.014 GB Notification: Performance of SimCode: time 1.042e-06/1.429, allocations: 0 / 1.343 GB, free: 5.223 MB / 1.014 GB Notification: Performance of Templates: time 0.04773/1.476, allocations: 27.17 MB / 1.37 GB, free: 8.836 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches