Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001308, 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.001457/0.001457, allocations: 196.7 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7272, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2245/0.9517, allocations: 218.9 MB / 1.23 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009952/0.9617, allocations: 5.804 MB / 1.236 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.9636, allocations: 35.75 kB / 1.236 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.9655, allocations: 0.4974 MB / 1.237 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.9706, allocations: 1.735 MB / 1.238 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.9738, allocations: 1.082 MB / 1.239 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004819/0.9786, allocations: 4.087 MB / 1.243 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.9802, allocations: 0.8771 MB / 1.244 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.9824, allocations: 0.914 MB / 1.245 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.9854, allocations: 0.9689 MB / 1.246 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.9858, allocations: 56 kB / 1.246 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.9895, allocations: 1.64 MB / 1.248 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.9902, allocations: 406.8 kB / 1.248 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.9915, allocations: 0.5909 MB / 1.249 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.9953, allocations: 2.162 MB / 1.251 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9953, allocations: 4 kB / 1.251 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9953, allocations: 0 / 1.251 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.65e-05/0.9954, allocations: 0 / 1.251 GB, free: 2.234 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002851/0.9982, allocations: 1.503 MB / 1.252 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9983, allocations: 8.031 kB / 1.252 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1, allocations: 322.2 kB / 1.252 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5968/1.597, allocations: 0.8176 MB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/1.597, allocations: 63.89 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/1.598, allocations: 84.88 kB / 1.253 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.6, allocations: 0.9159 MB / 1.254 GB, free: 237 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/1.6, allocations: 0.5312 kB / 1.254 GB, free: 237 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/1.6, allocations: 37.62 kB / 1.254 GB, free: 237 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/1.6, allocations: 35.7 kB / 1.254 GB, free: 237 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/1.601, allocations: 0.84 MB / 1.255 GB, free: 236.7 MB / 0.9981 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.006108/1.608, allocations: 3.528 MB / 1.259 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/1.609, allocations: 492.6 kB / 1.259 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/1.609, allocations: 297.9 kB / 1.259 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/1.609, allocations: 103.1 kB / 1.259 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/1.609, allocations: 51.25 kB / 1.26 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.424e-06/1.609, allocations: 0 / 1.26 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004048/1.613, allocations: 1.875 MB / 1.261 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/1.613, allocations: 57.5 kB / 1.261 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/1.615, allocations: 0.8075 MB / 1.262 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/1.615, allocations: 42.11 kB / 1.262 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/1.615, allocations: 473.2 kB / 1.263 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.615, allocations: 171.2 kB / 1.263 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/1.615, allocations: 116.8 kB / 1.263 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.888e-05/1.615, allocations: 331.8 kB / 1.263 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/1.616, allocations: 247.4 kB / 1.264 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/1.616, allocations: 378.6 kB / 1.264 GB, free: 231.6 MB / 0.9981 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/1.621, allocations: 1.547 MB / 1.265 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.621, allocations: 3.781 kB / 1.265 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0018/1.623, allocations: 0.7889 MB / 1.266 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.623, allocations: 10.69 kB / 1.266 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.623, allocations: 3.938 kB / 1.266 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/1.623, allocations: 68.11 kB / 1.266 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/1.624, allocations: 151.1 kB / 1.266 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/1.626, allocations: 2.896 MB / 1.269 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.627, allocations: 67.5 kB / 1.269 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/1.627, allocations: 21.72 kB / 1.269 GB, free: 227.8 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (71): * Single equations (assignments): 69 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005869/1.628, allocations: 303.2 kB / 1.27 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/1.628, allocations: 89.59 kB / 1.27 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/1.628, allocations: 100.2 kB / 1.27 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.628, allocations: 9.75 kB / 1.27 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.628, allocations: 4.047 kB / 1.27 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009922/1.629, allocations: 0.8305 MB / 1.271 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/1.632, allocations: 1.796 MB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.632, allocations: 4.875 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006334/1.633, allocations: 135 kB / 1.273 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/1.633, allocations: 36.67 kB / 1.273 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/1.633, allocations: 18.52 kB / 1.273 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009529/1.634, allocations: 1.478 MB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.634, allocations: 3.344 kB / 1.274 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/1.635, allocations: 1.066 MB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.636, allocations: 235.4 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.636, allocations: 15.39 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/1.637, allocations: 66.09 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.637, allocations: 49.91 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.291e-05/1.637, allocations: 27.86 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009038/1.638, allocations: 0.5632 MB / 1.276 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.638, allocations: 0 / 1.276 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001111/1.639, allocations: 277.9 kB / 1.276 GB, free: 223.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005107/1.639, allocations: 191.1 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001474/1.641, allocations: 0.793 MB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.641, allocations: 2.281 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/1.642, allocations: 414 kB / 1.278 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.644, allocations: 0.5807 MB / 1.278 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/1.648, allocations: 2.173 MB / 1.28 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/1.649, allocations: 1.086 MB / 1.281 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001161/1.65, allocations: 221.1 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/1.65, allocations: 64.62 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.65, allocations: 5.5 kB / 1.282 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02935/1.679, allocations: 19.08 MB / 1.3 GB, free: 204.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches