Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.994/0.994, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.202e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1966/0.1966, allocations: 219.2 MB / 1.026 GB, free: 6.094 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.007968/0.2046, allocations: 5.845 MB / 1.031 GB, free: 240 kB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.2058, allocations: 55.56 kB / 1.031 GB, free: 184 kB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.2071, allocations: 0.5588 MB / 1.032 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.2107, allocations: 1.974 MB / 1.034 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.2131, allocations: 1.25 MB / 1.035 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003363/0.2165, allocations: 3.06 MB / 1.038 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2175, allocations: 0.809 MB / 1.039 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.22, allocations: 1.675 MB / 1.041 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.2216, allocations: 0.9301 MB / 1.041 GB, free: 5.906 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.2218, allocations: 112 kB / 1.042 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.224, allocations: 1.192 MB / 1.043 GB, free: 4.602 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.2244, allocations: 0.5025 MB / 1.043 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.2249, allocations: 483 kB / 1.044 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.227, allocations: 1.608 MB / 1.045 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.227, allocations: 4 kB / 1.045 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.323e-06/0.227, allocations: 0 / 1.045 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.227, allocations: 4 kB / 1.045 GB, free: 2.004 MB / 0.9948 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.001722/0.2287, allocations: 1.569 MB / 1.047 GB, free: 404 kB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2288, allocations: 12.03 kB / 1.047 GB, free: 392 kB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3825/0.6112, allocations: 424.8 kB / 1.047 GB, free: 282.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.6128, allocations: 0.8058 MB / 1.048 GB, free: 282 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.6128, allocations: 63.5 kB / 1.048 GB, free: 282 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.6129, allocations: 93.88 kB / 1.048 GB, free: 282 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.6139, allocations: 1.058 MB / 1.049 GB, free: 281.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.6139, allocations: 3.719 kB / 1.049 GB, free: 281.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.149e-05/0.614, allocations: 36.5 kB / 1.049 GB, free: 281.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.614, allocations: 36.97 kB / 1.049 GB, free: 281.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.6146, allocations: 362.3 kB / 1.05 GB, free: 281.1 MB / 0.9948 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.002879/0.6175, allocations: 2.187 MB / 1.052 GB, free: 280.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.6179, allocations: 283.7 kB / 1.052 GB, free: 280 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.618, allocations: 127.6 kB / 1.052 GB, free: 280 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.6181, allocations: 32.12 kB / 1.052 GB, free: 280 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6182, allocations: 43.58 kB / 1.052 GB, free: 279.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=47): time 3.577e-06/0.6182, allocations: 0.875 kB / 1.052 GB, free: 279.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.00181/0.62, allocations: 1.059 MB / 1.053 GB, free: 279.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.62, allocations: 58.19 kB / 1.053 GB, free: 279.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.6204, allocations: 0.6272 MB / 1.054 GB, free: 279 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.6205, allocations: 39.45 kB / 1.054 GB, free: 279 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.6207, allocations: 0.5408 MB / 1.054 GB, free: 278.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.6208, allocations: 186.4 kB / 1.055 GB, free: 278.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.6209, allocations: 119.5 kB / 1.055 GB, free: 278.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.621, allocations: 0.5595 MB / 1.055 GB, free: 277.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6212, allocations: 86.59 kB / 1.055 GB, free: 277.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.6214, allocations: 378.6 kB / 1.056 GB, free: 277.5 MB / 0.9948 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.0007216/0.6221, allocations: 0.5707 MB / 1.056 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6221, allocations: 0 / 1.056 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005922/0.6227, allocations: 0.4897 MB / 1.057 GB, free: 277 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6227, allocations: 7.406 kB / 1.057 GB, free: 277 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6228, allocations: 5.344 kB / 1.057 GB, free: 277 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00013/0.6229, allocations: 44.81 kB / 1.057 GB, free: 277 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.6232, allocations: 140.5 kB / 1.057 GB, free: 277 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.6244, allocations: 3.524 MB / 1.06 GB, free: 273.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.6248, allocations: 23.95 kB / 1.06 GB, free: 273.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.6249, allocations: 25.78 kB / 1.06 GB, free: 273.4 MB / 0.9948 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.0002152/0.6251, allocations: 196.1 kB / 1.061 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.6252, allocations: 96.75 kB / 1.061 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.6253, allocations: 91.56 kB / 1.061 GB, free: 273.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6253, allocations: 5.375 kB / 1.061 GB, free: 273.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6253, allocations: 1.312 kB / 1.061 GB, free: 273.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003939/0.6257, allocations: 0.5853 MB / 1.061 GB, free: 272.6 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.6271, allocations: 1.291 MB / 1.063 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6271, allocations: 7.281 kB / 1.063 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.6274, allocations: 112.8 kB / 1.063 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.386e-05/0.6274, allocations: 39.64 kB / 1.063 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.6274, allocations: 13.94 kB / 1.063 GB, free: 271.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/0.628, allocations: 1.79 MB / 1.065 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.628, allocations: 5.656 kB / 1.065 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.6287, allocations: 0.7079 MB / 1.065 GB, free: 269.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.6289, allocations: 140.8 kB / 1.065 GB, free: 269.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.6289, allocations: 13.56 kB / 1.065 GB, free: 269.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.6292, allocations: 28.77 kB / 1.065 GB, free: 269.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.6293, allocations: 48.39 kB / 1.065 GB, free: 269.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.6294, allocations: 25.83 kB / 1.065 GB, free: 269.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002996/0.6297, allocations: 406.4 kB / 1.066 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6297, allocations: 0 / 1.066 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006568/0.6303, allocations: 282.8 kB / 1.066 GB, free: 269.2 MB / 0.9948 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.0002979/0.6306, allocations: 184.2 kB / 1.066 GB, free: 269.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006844/0.6313, allocations: 0.6529 MB / 1.067 GB, free: 268.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6313, allocations: 3.125 kB / 1.067 GB, free: 268.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.6315, allocations: 335.2 kB / 1.067 GB, free: 268.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.6328, allocations: 0.4991 MB / 1.068 GB, free: 268.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6349, allocations: 1.614 MB / 1.069 GB, free: 267.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.635, allocations: 234 kB / 1.07 GB, free: 267.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00049/0.6355, allocations: 162.1 kB / 1.07 GB, free: 267.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.6356, allocations: 64.36 kB / 1.07 GB, free: 267.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.913e-06/0.6356, allocations: 1.938 kB / 1.07 GB, free: 267.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.02502/0.6607, allocations: 18.07 MB / 1.087 GB, free: 265.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.32221073214896]