Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008766/0.008766, allocations: 107 kB / 15.74 MB, free: 6.004 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.001621/0.001621, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 68.03 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.888, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2572/1.145, allocations: 221.1 MB / 1.304 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00971/1.155, allocations: 5.727 MB / 1.309 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.156, allocations: 43.81 kB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/1.158, allocations: 0.5785 MB / 1.31 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/1.162, allocations: 1.839 MB / 1.312 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/1.165, allocations: 1.181 MB / 1.313 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003828/1.169, allocations: 2.964 MB / 1.316 GB, free: 4.105 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.17, allocations: 1.023 MB / 1.317 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/1.172, allocations: 1.086 MB / 1.318 GB, free: 1.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/1.174, allocations: 0.9468 MB / 1.319 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/1.174, allocations: 108 kB / 1.319 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/1.177, allocations: 1.43 MB / 1.32 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00051/1.177, allocations: 462.8 kB / 1.321 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008153/1.178, allocations: 0.6572 MB / 1.321 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003556/1.181, allocations: 2.127 MB / 1.324 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.181, allocations: 0 / 1.324 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/1.181, allocations: 0 / 1.324 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.189e-05/1.182, allocations: 0 / 1.324 GB, free: 12.25 MB / 1.061 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.003554/1.185, allocations: 1.5 MB / 1.325 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.185, allocations: 12.03 kB / 1.325 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/1.187, allocations: 326.2 kB / 1.325 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/1.189, allocations: 0.8591 MB / 1.326 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/1.189, allocations: 62 kB / 1.326 GB, free: 9.402 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.189, allocations: 84 kB / 1.326 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/1.191, allocations: 0.9131 MB / 1.327 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.191, allocations: 3.938 kB / 1.327 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/1.191, allocations: 44 kB / 1.327 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/1.191, allocations: 33.94 kB / 1.327 GB, free: 8.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/1.193, allocations: 0.8354 MB / 1.328 GB, free: 7.484 MB / 1.061 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.005476/1.198, allocations: 3.505 MB / 1.332 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/1.199, allocations: 0.4957 MB / 1.332 GB, free: 3.258 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/1.199, allocations: 295 kB / 1.332 GB, free: 2.969 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.2, allocations: 101.5 kB / 1.332 GB, free: 2.852 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.2, allocations: 50.88 kB / 1.332 GB, free: 2.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.825e-06/1.2, allocations: 0 / 1.332 GB, free: 2.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003985/1.204, allocations: 1.876 MB / 1.334 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.204, allocations: 59.84 kB / 1.334 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/1.205, allocations: 0.8058 MB / 1.335 GB, free: 15.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/1.205, allocations: 37.7 kB / 1.335 GB, free: 15.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/1.205, allocations: 471.3 kB / 1.336 GB, free: 15.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.205, allocations: 177.5 kB / 1.336 GB, free: 15.24 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/1.206, allocations: 114.2 kB / 1.336 GB, free: 15.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.206, allocations: 334 kB / 1.336 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/1.206, allocations: 249.2 kB / 1.336 GB, free: 14.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/1.207, allocations: 384.6 kB / 1.337 GB, free: 14.12 MB / 1.076 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.0039/1.211, allocations: 1.539 MB / 1.338 GB, free: 12.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/1.211, allocations: 4 kB / 1.338 GB, free: 12.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001425/1.212, allocations: 0.7926 MB / 1.339 GB, free: 11.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.212, allocations: 8 kB / 1.339 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.212, allocations: 4 kB / 1.339 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/1.212, allocations: 65.67 kB / 1.339 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/1.213, allocations: 151.8 kB / 1.339 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/1.216, allocations: 3.125 MB / 1.342 GB, free: 8.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/1.217, allocations: 27.98 kB / 1.342 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/1.217, allocations: 20 kB / 1.342 GB, free: 8.027 MB / 1.076 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.0005438/1.217, allocations: 314.7 kB / 1.343 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/1.218, allocations: 90.97 kB / 1.343 GB, free: 7.621 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/1.218, allocations: 100.7 kB / 1.343 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.218, allocations: 4 kB / 1.343 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.218, allocations: 0 / 1.343 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/1.219, allocations: 0.8387 MB / 1.344 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/1.222, allocations: 1.798 MB / 1.345 GB, free: 4.691 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.222, allocations: 7.984 kB / 1.345 GB, free: 4.684 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/1.222, allocations: 128.3 kB / 1.346 GB, free: 4.559 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/1.223, allocations: 40.83 kB / 1.346 GB, free: 4.516 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/1.223, allocations: 16 kB / 1.346 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/1.224, allocations: 1.602 MB / 1.347 GB, free: 2.762 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.224, allocations: 7.969 kB / 1.347 GB, free: 2.754 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/1.226, allocations: 1.066 MB / 1.348 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/1.226, allocations: 235.9 kB / 1.348 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.226, allocations: 16 kB / 1.348 GB, free: 1.363 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/1.227, allocations: 33.33 kB / 1.349 GB, free: 1.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.227, allocations: 43.95 kB / 1.349 GB, free: 1.289 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.249e-05/1.227, allocations: 31.98 kB / 1.349 GB, free: 1.258 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007036/1.228, allocations: 0.5615 MB / 1.349 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.228, allocations: 0 / 1.349 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008836/1.229, allocations: 276 kB / 1.349 GB, free: 440 kB / 1.076 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.0004495/1.229, allocations: 183.4 kB / 1.35 GB, free: 252 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001368/1.231, allocations: 0.8116 MB / 1.35 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.231, allocations: 0 / 1.35 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/1.231, allocations: 408.7 kB / 1.351 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/1.234, allocations: 0.6024 MB / 1.351 GB, free: 14.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.237, allocations: 1.796 MB / 1.353 GB, free: 12.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/1.238, allocations: 1.088 MB / 1.354 GB, free: 11.42 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00083/1.239, allocations: 223.7 kB / 1.354 GB, free: 11.2 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/1.239, allocations: 67.44 kB / 1.354 GB, free: 11.13 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/1.239, allocations: 0 / 1.354 GB, free: 11.13 MB / 1.092 GB Notification: Performance of Templates: time 0.03615/1.275, allocations: 20.19 MB / 1.374 GB, free: 7.254 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches