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.001397/0.001397, allocations: 109.4 kB / 16.41 MB, free: 6.496 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.001296/0.001296, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.374/1.374, 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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8822, allocations: 140.4 MB / 1.089 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2695/1.152, allocations: 221.1 MB / 1.305 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01006/1.162, allocations: 5.717 MB / 1.31 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/1.164, allocations: 43.75 kB / 1.31 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001932/1.166, allocations: 0.5786 MB / 1.311 GB, free: 10.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005352/1.171, allocations: 1.835 MB / 1.313 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/1.174, allocations: 1.189 MB / 1.314 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004112/1.178, allocations: 2.965 MB / 1.317 GB, free: 4.277 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.18, allocations: 1.026 MB / 1.318 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/1.182, allocations: 1.082 MB / 1.319 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/1.185, allocations: 0.9497 MB / 1.32 GB, free: 1.203 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/1.185, allocations: 108 kB / 1.32 GB, free: 1.098 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/1.189, allocations: 1.426 MB / 1.321 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/1.189, allocations: 466.7 kB / 1.322 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/1.191, allocations: 0.6456 MB / 1.322 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003911/1.195, allocations: 2.138 MB / 1.324 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/1.195, allocations: 0 / 1.324 GB, free: 12.42 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/1.195, allocations: 0 / 1.324 GB, free: 12.42 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.365e-05/1.195, allocations: 0 / 1.324 GB, free: 12.42 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.003189/1.198, allocations: 1.503 MB / 1.326 GB, free: 10.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.198, allocations: 8.031 kB / 1.326 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/1.2, allocations: 318.3 kB / 1.326 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.202, allocations: 0.859 MB / 1.327 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/1.202, allocations: 66 kB / 1.327 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/1.202, allocations: 84 kB / 1.327 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.204, allocations: 0.917 MB / 1.328 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.204, allocations: 4 kB / 1.328 GB, free: 8.562 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/1.204, allocations: 36 kB / 1.328 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/1.204, allocations: 37.94 kB / 1.328 GB, free: 8.492 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/1.206, allocations: 0.8276 MB / 1.329 GB, free: 7.664 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.005666/1.211, allocations: 3.516 MB / 1.332 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/1.212, allocations: 499.3 kB / 1.333 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/1.213, allocations: 306.9 kB / 1.333 GB, free: 3.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/1.213, allocations: 101.5 kB / 1.333 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.213, allocations: 46.94 kB / 1.333 GB, free: 2.961 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/1.213, allocations: 0 / 1.333 GB, free: 2.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003651/1.216, allocations: 1.872 MB / 1.335 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.216, allocations: 55.84 kB / 1.335 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/1.217, allocations: 0.8097 MB / 1.336 GB, free: 104 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/1.218, allocations: 41.7 kB / 1.336 GB, free: 56 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/1.218, allocations: 471.3 kB / 1.336 GB, free: 15.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/1.218, allocations: 177.4 kB / 1.336 GB, free: 15.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.218, allocations: 118.2 kB / 1.337 GB, free: 15.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.218, allocations: 338 kB / 1.337 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/1.219, allocations: 241.2 kB / 1.337 GB, free: 14.71 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/1.219, allocations: 380.7 kB / 1.337 GB, free: 14.3 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.003581/1.223, allocations: 1.543 MB / 1.339 GB, free: 12.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.223, allocations: 0 / 1.339 GB, free: 12.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001376/1.224, allocations: 0.7965 MB / 1.34 GB, free: 11.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.224, allocations: 4 kB / 1.34 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.224, allocations: 4 kB / 1.34 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/1.225, allocations: 73.61 kB / 1.34 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/1.225, allocations: 143.8 kB / 1.34 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/1.228, allocations: 3.132 MB / 1.343 GB, free: 8.238 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/1.229, allocations: 27.98 kB / 1.343 GB, free: 8.211 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/1.229, allocations: 24.16 kB / 1.343 GB, free: 8.188 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.000525/1.229, allocations: 309.5 kB / 1.343 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/1.23, allocations: 94.91 kB / 1.343 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/1.23, allocations: 100.7 kB / 1.344 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.23, allocations: 4 kB / 1.344 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.23, allocations: 0 / 1.344 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/1.231, allocations: 0.8388 MB / 1.344 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/1.234, allocations: 1.79 MB / 1.346 GB, free: 4.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.234, allocations: 8.391 kB / 1.346 GB, free: 4.852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/1.235, allocations: 135.8 kB / 1.346 GB, free: 4.719 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/1.235, allocations: 36.84 kB / 1.346 GB, free: 4.68 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.235, allocations: 15.98 kB / 1.346 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/1.236, allocations: 1.594 MB / 1.348 GB, free: 2.934 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.236, allocations: 4 kB / 1.348 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/1.238, allocations: 1.062 MB / 1.349 GB, free: 1.809 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/1.238, allocations: 239.9 kB / 1.349 GB, free: 1.555 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.238, allocations: 12 kB / 1.349 GB, free: 1.543 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/1.239, allocations: 33.61 kB / 1.349 GB, free: 1.512 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.239, allocations: 43.89 kB / 1.349 GB, free: 1.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.239, allocations: 35.97 kB / 1.349 GB, free: 1.434 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007488/1.24, allocations: 0.5537 MB / 1.35 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/1.24, allocations: 0 / 1.35 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000953/1.241, allocations: 280 kB / 1.35 GB, free: 0.6094 MB / 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.0004931/1.241, allocations: 209.4 kB / 1.35 GB, free: 416 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.243, allocations: 0.7999 MB / 1.351 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.243, allocations: 4 kB / 1.351 GB, free: 15.57 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/1.243, allocations: 420.6 kB / 1.351 GB, free: 15.15 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.246, allocations: 0.5867 MB / 1.352 GB, free: 14.58 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/1.249, allocations: 1.852 MB / 1.354 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/1.25, allocations: 1.084 MB / 1.355 GB, free: 11.53 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/1.25, allocations: 75.38 kB / 1.355 GB, free: 11.46 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/1.25, allocations: 0 / 1.355 GB, free: 11.46 MB / 1.092 GB Notification: Performance of Templates: time 0.0301/1.28, allocations: 22.03 MB / 1.376 GB, free: 5.566 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]