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.006686/0.006686, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001591/0.001591, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.642/2.642, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2936, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.845/1.139, allocations: 221.1 MB / 1.383 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00958/1.148, allocations: 5.725 MB / 1.388 GB, free: 7.523 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/1.15, allocations: 39.31 kB / 1.388 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/1.152, allocations: 0.6065 MB / 1.389 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005056/1.157, allocations: 1.906 MB / 1.391 GB, free: 5.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/1.16, allocations: 1.201 MB / 1.392 GB, free: 4.621 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00409/1.164, allocations: 2.968 MB / 1.395 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/1.166, allocations: 1.026 MB / 1.396 GB, free: 2.289 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/1.168, allocations: 1.118 MB / 1.397 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/1.17, allocations: 0.9341 MB / 1.398 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002775/1.17, allocations: 105.7 kB / 1.398 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/1.173, allocations: 1.443 MB / 1.399 GB, free: 328 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/1.174, allocations: 456.6 kB / 1.4 GB, free: 16 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009454/1.175, allocations: 0.6557 MB / 1.4 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002982/1.178, allocations: 2.14 MB / 1.402 GB, free: 14.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.178, allocations: 0 / 1.402 GB, free: 14.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.178, allocations: 0 / 1.402 GB, free: 14.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.39e-05/1.178, allocations: 0 / 1.402 GB, free: 14.21 MB / 1.076 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.002924/1.181, allocations: 1.542 MB / 1.404 GB, free: 13.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.181, allocations: 7.812 kB / 1.404 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/1.183, allocations: 332.5 kB / 1.404 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.184, allocations: 0.858 MB / 1.405 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/1.184, allocations: 65.06 kB / 1.405 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.185, allocations: 86.95 kB / 1.405 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/1.186, allocations: 0.9099 MB / 1.406 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.186, allocations: 6.938 kB / 1.406 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.186, allocations: 39.41 kB / 1.406 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/1.186, allocations: 31.66 kB / 1.406 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.188, allocations: 0.8373 MB / 1.407 GB, free: 11.2 MB / 1.076 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.005842/1.194, allocations: 3.521 MB / 1.41 GB, free: 8.418 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/1.194, allocations: 496.4 kB / 1.411 GB, free: 8.156 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/1.195, allocations: 301.5 kB / 1.411 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/1.195, allocations: 96.88 kB / 1.411 GB, free: 7.914 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/1.195, allocations: 47.78 kB / 1.411 GB, free: 7.863 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/1.195, allocations: 3.938 kB / 1.411 GB, free: 7.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=49): time 0.003893/1.199, allocations: 1.893 MB / 1.413 GB, free: 6.594 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.199, allocations: 61.5 kB / 1.413 GB, free: 6.527 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/1.2, allocations: 0.81 MB / 1.414 GB, free: 6.074 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/1.2, allocations: 38.77 kB / 1.414 GB, free: 6.035 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/1.201, allocations: 489.7 kB / 1.415 GB, free: 5.609 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.201, allocations: 181.1 kB / 1.415 GB, free: 5.453 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.201, allocations: 116 kB / 1.415 GB, free: 5.383 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.201, allocations: 335.9 kB / 1.415 GB, free: 5.055 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/1.202, allocations: 243.7 kB / 1.415 GB, free: 4.934 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/1.202, allocations: 381.6 kB / 1.416 GB, free: 4.66 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.003445/1.205, allocations: 1.544 MB / 1.417 GB, free: 3.289 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.205, allocations: 0 / 1.417 GB, free: 3.289 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/1.207, allocations: 0.7969 MB / 1.418 GB, free: 2.477 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.207, allocations: 8 kB / 1.418 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.207, allocations: 4 kB / 1.418 GB, free: 2.465 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/1.207, allocations: 65.67 kB / 1.418 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/1.208, allocations: 147.8 kB / 1.418 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.21, allocations: 3.122 MB / 1.421 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/1.211, allocations: 37.66 kB / 1.421 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/1.211, allocations: 28.16 kB / 1.421 GB, free: 14.79 MB / 1.092 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.0004138/1.211, allocations: 307.9 kB / 1.422 GB, free: 14.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.212, allocations: 91.58 kB / 1.422 GB, free: 14.39 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/1.212, allocations: 108.6 kB / 1.422 GB, free: 14.28 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.212, allocations: 4 kB / 1.422 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.212, allocations: 4 kB / 1.422 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009719/1.213, allocations: 0.8387 MB / 1.423 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/1.215, allocations: 1.792 MB / 1.424 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.215, allocations: 4.406 kB / 1.424 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/1.216, allocations: 131.8 kB / 1.425 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.489e-05/1.216, allocations: 40.84 kB / 1.425 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.216, allocations: 11.98 kB / 1.425 GB, free: 11.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.217, allocations: 1.59 MB / 1.426 GB, free: 9.535 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.217, allocations: 15.86 kB / 1.426 GB, free: 9.52 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.219, allocations: 1.062 MB / 1.427 GB, free: 8.398 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/1.219, allocations: 236.5 kB / 1.427 GB, free: 8.148 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.219, allocations: 16 kB / 1.427 GB, free: 8.133 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/1.22, allocations: 41.56 kB / 1.427 GB, free: 8.094 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/1.22, allocations: 40.02 kB / 1.427 GB, free: 8.055 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/1.22, allocations: 31.98 kB / 1.428 GB, free: 8.023 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006646/1.221, allocations: 0.5576 MB / 1.428 GB, free: 7.473 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.221, allocations: 3.938 kB / 1.428 GB, free: 7.469 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008112/1.222, allocations: 272 kB / 1.428 GB, free: 7.203 MB / 1.092 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.0004398/1.222, allocations: 199.6 kB / 1.429 GB, free: 7.004 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001203/1.223, allocations: 0.8076 MB / 1.429 GB, free: 6.172 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.223, allocations: 0 / 1.429 GB, free: 6.172 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/1.224, allocations: 415.9 kB / 1.43 GB, free: 5.754 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/1.226, allocations: 0.5848 MB / 1.43 GB, free: 5.18 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/1.229, allocations: 1.844 MB / 1.432 GB, free: 3.262 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/1.23, allocations: 1.095 MB / 1.433 GB, free: 2.137 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006968/1.23, allocations: 215.7 kB / 1.433 GB, free: 1.922 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/1.231, allocations: 71.42 kB / 1.433 GB, free: 1.852 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.231, allocations: 0 / 1.433 GB, free: 1.852 MB / 1.092 GB Notification: Performance of Templates: time 0.03221/1.263, allocations: 20.19 MB / 1.453 GB, free: 13.97 MB / 1.123 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