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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001983, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 65.33 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3513, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.9353/1.287, allocations: 209.9 MB / 1.273 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01287/1.3, allocations: 9.88 MB / 1.283 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/1.302, allocations: 57.44 kB / 1.283 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002666/1.305, allocations: 0.7741 MB / 1.284 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008591/1.314, allocations: 2.801 MB / 1.286 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004285/1.318, allocations: 1.37 MB / 1.288 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007318/1.325, allocations: 4.058 MB / 1.292 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/1.328, allocations: 1.331 MB / 1.293 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/1.332, allocations: 1.357 MB / 1.294 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/1.335, allocations: 1.228 MB / 1.295 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005474/1.336, allocations: 143.8 kB / 1.296 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006038/1.342, allocations: 2.379 MB / 1.298 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/1.343, allocations: 0.6049 MB / 1.299 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002081/1.345, allocations: 0.8622 MB / 1.299 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005898/1.351, allocations: 2.968 MB / 1.302 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.351, allocations: 0 / 1.302 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.216e-06/1.351, allocations: 0.9688 kB / 1.302 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.136e-05/1.351, allocations: 0 / 1.302 GB, free: 4.727 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.004292/1.355, allocations: 1.9 MB / 1.304 GB, free: 19.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.355, allocations: 9.031 kB / 1.304 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/1.358, allocations: 490.1 kB / 1.305 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/1.36, allocations: 1.065 MB / 1.306 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.698e-05/1.36, allocations: 86.3 kB / 1.306 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/1.36, allocations: 112.3 kB / 1.306 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/1.363, allocations: 1.163 MB / 1.307 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.363, allocations: 5.094 kB / 1.307 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.363, allocations: 45.34 kB / 1.307 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/1.363, allocations: 42.44 kB / 1.307 GB, free: 19.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/1.364, allocations: 1.072 MB / 1.308 GB, free: 19.22 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.005782/1.37, allocations: 4.237 MB / 1.312 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/1.372, allocations: 0.7937 MB / 1.313 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/1.372, allocations: 487.2 kB / 1.313 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004088/1.373, allocations: 288.8 kB / 1.314 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/1.373, allocations: 45.09 kB / 1.314 GB, free: 17.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 3.096e-06/1.373, allocations: 0 / 1.314 GB, free: 17.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.00565/1.378, allocations: 2.846 MB / 1.317 GB, free: 16.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.378, allocations: 66 kB / 1.317 GB, free: 16.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.38, allocations: 0.9729 MB / 1.318 GB, free: 16.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/1.38, allocations: 45.36 kB / 1.318 GB, free: 16.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/1.38, allocations: 0.5413 MB / 1.318 GB, free: 16.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/1.38, allocations: 312.2 kB / 1.318 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/1.381, allocations: 157.3 kB / 1.319 GB, free: 15.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.381, allocations: 342.3 kB / 1.319 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/1.381, allocations: 341.5 kB / 1.319 GB, free: 15.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/1.382, allocations: 485.2 kB / 1.32 GB, free: 15.38 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.0056/1.387, allocations: 3.053 MB / 1.323 GB, free: 14.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.387, allocations: 3.406 kB / 1.323 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001524/1.389, allocations: 1.01 MB / 1.324 GB, free: 14.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.389, allocations: 8 kB / 1.324 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.389, allocations: 3.562 kB / 1.324 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.389, allocations: 8 kB / 1.324 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/1.39, allocations: 184.4 kB / 1.324 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.39, allocations: 12.03 kB / 1.324 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.391, allocations: 25.12 kB / 1.324 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/1.391, allocations: 36.81 kB / 1.324 GB, free: 14.82 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.0005603/1.392, allocations: 375.6 kB / 1.324 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.392, allocations: 127.2 kB / 1.324 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/1.392, allocations: 152.4 kB / 1.325 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.392, allocations: 6.688 kB / 1.325 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.392, allocations: 4.406 kB / 1.325 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/1.393, allocations: 1.099 MB / 1.326 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/1.398, allocations: 3.051 MB / 1.329 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/1.398, allocations: 11.06 kB / 1.329 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00068/1.398, allocations: 162.4 kB / 1.329 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/1.399, allocations: 102.7 kB / 1.329 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/1.399, allocations: 33.92 kB / 1.329 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/1.401, allocations: 3.088 MB / 1.332 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.401, allocations: 17.31 kB / 1.332 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.403, allocations: 1.737 MB / 1.334 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/1.404, allocations: 307.8 kB / 1.334 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.404, allocations: 33.53 kB / 1.334 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009245/1.405, allocations: 35.69 kB / 1.334 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.405, allocations: 90.77 kB / 1.334 GB, free: 9.293 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/1.405, allocations: 48.97 kB / 1.334 GB, free: 9.281 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008287/1.406, allocations: 0.6963 MB / 1.335 GB, free: 8.996 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.406, allocations: 0 / 1.335 GB, free: 8.996 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001101/1.407, allocations: 370.6 kB / 1.335 GB, free: 8.969 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.0004806/1.407, allocations: 242.8 kB / 1.335 GB, free: 8.832 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001467/1.409, allocations: 0.9557 MB / 1.336 GB, free: 8.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.409, allocations: 2.906 kB / 1.336 GB, free: 8.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008409/1.41, allocations: 0.6703 MB / 1.337 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/1.414, allocations: 0.9334 MB / 1.338 GB, free: 7.934 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/1.418, allocations: 2.807 MB / 1.341 GB, free: 6.246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/1.419, allocations: 1.253 MB / 1.342 GB, free: 5.469 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00154/1.42, allocations: 341.8 kB / 1.342 GB, free: 5.395 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.42, allocations: 98.02 kB / 1.342 GB, free: 5.387 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.42, allocations: 3.938 kB / 1.342 GB, free: 5.383 MB / 1.014 GB Notification: Performance of Templates: time 0.04713/1.468, allocations: 28.36 MB / 1.37 GB, free: 9.812 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