Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00151/0.00151, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001506/0.001506, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.73 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7032, allocations: 162.2 MB / 1.083 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.258/0.9612, allocations: 221.2 MB / 1.299 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009482/0.9707, allocations: 5.735 MB / 1.305 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.9718, allocations: 39.75 kB / 1.305 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.9733, allocations: 0.5864 MB / 1.305 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004364/0.9777, allocations: 1.846 MB / 1.307 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.9807, allocations: 1.172 MB / 1.308 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003729/0.9844, allocations: 2.955 MB / 1.311 GB, free: 4.812 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.9858, allocations: 1.027 MB / 1.312 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.988, allocations: 1.246 MB / 1.313 GB, free: 2.516 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.9901, allocations: 0.9229 MB / 1.314 GB, free: 1.602 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.9903, allocations: 108 kB / 1.314 GB, free: 1.496 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.993, allocations: 1.427 MB / 1.316 GB, free: 68 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.9936, allocations: 466.8 kB / 1.316 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.9943, allocations: 0.6495 MB / 1.317 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.9972, allocations: 2.115 MB / 1.319 GB, free: 12.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9973, allocations: 4 kB / 1.319 GB, free: 12.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9973, allocations: 0 / 1.319 GB, free: 12.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.9973, allocations: 0 / 1.319 GB, free: 12.83 MB / 1.045 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.002436/0.9997, allocations: 1.503 MB / 1.32 GB, free: 11.28 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.9998, allocations: 8.031 kB / 1.32 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/1.002, allocations: 322.3 kB / 1.321 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.003, allocations: 0.82 MB / 1.321 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/1.003, allocations: 66 kB / 1.321 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.003, allocations: 84 kB / 1.321 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/1.005, allocations: 0.9209 MB / 1.322 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/1.005, allocations: 0 / 1.322 GB, free: 9.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/1.005, allocations: 36 kB / 1.322 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/1.005, allocations: 33.94 kB / 1.322 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/1.007, allocations: 0.8392 MB / 1.323 GB, free: 8.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005622/1.012, allocations: 3.706 MB / 1.327 GB, free: 4.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/1.013, allocations: 496.4 kB / 1.327 GB, free: 3.648 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/1.014, allocations: 302 kB / 1.328 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/1.014, allocations: 105.5 kB / 1.328 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/1.014, allocations: 46.94 kB / 1.328 GB, free: 3.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 4.077e-06/1.014, allocations: 0 / 1.328 GB, free: 3.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.003848/1.018, allocations: 1.876 MB / 1.33 GB, free: 1.199 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.018, allocations: 59.84 kB / 1.33 GB, free: 1.129 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.019, allocations: 0.8136 MB / 1.33 GB, free: 312 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/1.019, allocations: 37.7 kB / 1.33 GB, free: 268 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/1.019, allocations: 471.4 kB / 1.331 GB, free: 15.79 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/1.02, allocations: 173.4 kB / 1.331 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/1.02, allocations: 118.2 kB / 1.331 GB, free: 15.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.02, allocations: 334 kB / 1.332 GB, free: 15.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/1.02, allocations: 249.2 kB / 1.332 GB, free: 14.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/1.021, allocations: 380.7 kB / 1.332 GB, free: 14.5 MB / 1.061 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.003837/1.025, allocations: 1.543 MB / 1.334 GB, free: 12.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.025, allocations: 0 / 1.334 GB, free: 12.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001492/1.026, allocations: 0.7965 MB / 1.334 GB, free: 12.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.026, allocations: 8 kB / 1.334 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.026, allocations: 0 / 1.334 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/1.027, allocations: 69.67 kB / 1.334 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/1.027, allocations: 147.8 kB / 1.335 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/1.03, allocations: 3.121 MB / 1.338 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/1.031, allocations: 31.98 kB / 1.338 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/1.031, allocations: 20 kB / 1.338 GB, free: 8.41 MB / 1.061 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.0005275/1.032, allocations: 301.6 kB / 1.338 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/1.032, allocations: 90.97 kB / 1.338 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/1.032, allocations: 104.8 kB / 1.338 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/1.032, allocations: 4 kB / 1.338 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.032, allocations: 0 / 1.338 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.033, allocations: 0.8387 MB / 1.339 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/1.036, allocations: 1.792 MB / 1.341 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.036, allocations: 4 kB / 1.341 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/1.037, allocations: 131.8 kB / 1.341 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/1.037, allocations: 41.23 kB / 1.341 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/1.037, allocations: 16 kB / 1.341 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.039, allocations: 1.602 MB / 1.343 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.039, allocations: 7.938 kB / 1.343 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/1.04, allocations: 1.072 MB / 1.344 GB, free: 2.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/1.041, allocations: 239.9 kB / 1.344 GB, free: 1.766 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.041, allocations: 19.94 kB / 1.344 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/1.041, allocations: 34.34 kB / 1.344 GB, free: 1.715 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/1.042, allocations: 40.02 kB / 1.344 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/1.042, allocations: 31.98 kB / 1.344 GB, free: 1.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007584/1.042, allocations: 0.5537 MB / 1.344 GB, free: 1.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.145e-06/1.042, allocations: 0 / 1.344 GB, free: 1.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000886/1.043, allocations: 287.9 kB / 1.345 GB, free: 0.8125 MB / 1.061 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.0004629/1.044, allocations: 202.4 kB / 1.345 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001497/1.045, allocations: 0.8666 MB / 1.346 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.045, allocations: 4 kB / 1.346 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/1.046, allocations: 402.3 kB / 1.346 GB, free: 15.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.049, allocations: 0.6014 MB / 1.347 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/1.052, allocations: 1.886 MB / 1.349 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/1.052, allocations: 1.08 MB / 1.35 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/1.053, allocations: 67.44 kB / 1.35 GB, free: 11.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.053, allocations: 4 kB / 1.35 GB, free: 11.59 MB / 1.076 GB Notification: Performance of Templates: time 0.03027/1.083, allocations: 21.94 MB / 1.371 GB, free: 5.762 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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]