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.001248/0.001248, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001453/0.001453, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8683/0.8695, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2851/1.155, allocations: 221.1 MB / 1.305 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01121/1.166, allocations: 5.732 MB / 1.31 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/1.168, allocations: 39.75 kB / 1.31 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/1.17, allocations: 0.5864 MB / 1.311 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005379/1.175, allocations: 1.832 MB / 1.313 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003626/1.179, allocations: 1.196 MB / 1.314 GB, free: 7.031 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004314/1.183, allocations: 2.961 MB / 1.317 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/1.186, allocations: 1.015 MB / 1.318 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/1.189, allocations: 1.082 MB / 1.319 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.192, allocations: 0.9462 MB / 1.32 GB, free: 1.008 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000477/1.192, allocations: 108 kB / 1.32 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/1.197, allocations: 1.434 MB / 1.321 GB, free: 15.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009796/1.198, allocations: 462.8 kB / 1.322 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001754/1.2, allocations: 0.6611 MB / 1.322 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/1.205, allocations: 2.127 MB / 1.324 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.205, allocations: 0 / 1.324 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/1.205, allocations: 0 / 1.324 GB, free: 12.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.879e-05/1.205, allocations: 0 / 1.324 GB, free: 12.21 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.004375/1.21, allocations: 1.503 MB / 1.326 GB, free: 10.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.21, allocations: 16.03 kB / 1.326 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/1.213, allocations: 314.2 kB / 1.326 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/1.215, allocations: 0.863 MB / 1.327 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.463e-05/1.215, allocations: 69.98 kB / 1.327 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/1.216, allocations: 84 kB / 1.327 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002679/1.218, allocations: 0.9053 MB / 1.328 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.218, allocations: 4 kB / 1.328 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.219, allocations: 36 kB / 1.328 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/1.219, allocations: 37.92 kB / 1.328 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.221, allocations: 0.8354 MB / 1.329 GB, free: 7.453 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.007893/1.229, allocations: 3.512 MB / 1.332 GB, free: 3.723 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.23, allocations: 0.4891 MB / 1.333 GB, free: 3.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/1.231, allocations: 295 kB / 1.333 GB, free: 2.934 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/1.231, allocations: 105.5 kB / 1.333 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/1.231, allocations: 46.94 kB / 1.333 GB, free: 2.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 3.807e-06/1.231, allocations: 0 / 1.333 GB, free: 2.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.004646/1.236, allocations: 1.868 MB / 1.335 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.236, allocations: 59.84 kB / 1.335 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.237, allocations: 0.8058 MB / 1.336 GB, free: 15.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/1.237, allocations: 37.7 kB / 1.336 GB, free: 15.86 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.238, allocations: 483.2 kB / 1.336 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/1.238, allocations: 169.5 kB / 1.336 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/1.238, allocations: 126.1 kB / 1.337 GB, free: 15.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.238, allocations: 325.9 kB / 1.337 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/1.239, allocations: 245.2 kB / 1.337 GB, free: 14.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/1.239, allocations: 380.7 kB / 1.337 GB, free: 14.1 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.00385/1.243, allocations: 1.547 MB / 1.339 GB, free: 12.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.243, allocations: 4 kB / 1.339 GB, free: 12.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001353/1.244, allocations: 0.7883 MB / 1.34 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.245, allocations: 8.406 kB / 1.34 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.245, allocations: 8 kB / 1.34 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/1.245, allocations: 65.69 kB / 1.34 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/1.245, allocations: 151.8 kB / 1.34 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/1.248, allocations: 3.125 MB / 1.343 GB, free: 8.039 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/1.249, allocations: 27.45 kB / 1.343 GB, free: 8.016 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/1.249, allocations: 31.92 kB / 1.343 GB, free: 7.984 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.0005189/1.249, allocations: 314.8 kB / 1.343 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.249, allocations: 86.97 kB / 1.343 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/1.25, allocations: 100.7 kB / 1.344 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.25, allocations: 7.938 kB / 1.344 GB, free: 7.477 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.25, allocations: 4 kB / 1.344 GB, free: 7.473 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.251, allocations: 0.8271 MB / 1.344 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/1.253, allocations: 1.802 MB / 1.346 GB, free: 4.652 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.253, allocations: 4 kB / 1.346 GB, free: 4.648 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/1.254, allocations: 128.3 kB / 1.346 GB, free: 4.523 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-05/1.254, allocations: 40.83 kB / 1.346 GB, free: 4.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/1.254, allocations: 12 kB / 1.346 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/1.255, allocations: 1.605 MB / 1.348 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.255, allocations: 4 kB / 1.348 GB, free: 2.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/1.257, allocations: 1.062 MB / 1.349 GB, free: 1.602 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/1.257, allocations: 235.9 kB / 1.349 GB, free: 1.352 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.257, allocations: 15.98 kB / 1.349 GB, free: 1.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/1.258, allocations: 33.75 kB / 1.349 GB, free: 1.305 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/1.258, allocations: 43.95 kB / 1.349 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/1.258, allocations: 27.98 kB / 1.349 GB, free: 1.234 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006999/1.259, allocations: 0.5654 MB / 1.35 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.259, allocations: 0 / 1.35 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008694/1.26, allocations: 272 kB / 1.35 GB, free: 416 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.0004688/1.26, allocations: 195.7 kB / 1.35 GB, free: 216 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001367/1.262, allocations: 0.8078 MB / 1.351 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.262, allocations: 0 / 1.351 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/1.262, allocations: 408.7 kB / 1.351 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/1.265, allocations: 0.6065 MB / 1.352 GB, free: 14.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/1.268, allocations: 1.86 MB / 1.354 GB, free: 12.43 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/1.268, allocations: 1.084 MB / 1.355 GB, free: 11.32 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/1.269, allocations: 71.44 kB / 1.355 GB, free: 11.25 MB / 1.092 GB Notification: Performance of SimCode: time 3.6e-07/1.269, allocations: 0 / 1.355 GB, free: 11.25 MB / 1.092 GB Notification: Performance of Templates: time 0.02874/1.297, allocations: 22.02 MB / 1.376 GB, free: 5.367 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]