Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001555/0.001555, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001548/0.001548, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.62 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3546, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8277/1.182, allocations: 218.3 MB / 1.277 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01041/1.193, allocations: 5.7 MB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/1.194, allocations: 39.75 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/1.196, allocations: 0.5052 MB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004805/1.201, allocations: 1.74 MB / 1.285 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/1.204, allocations: 1.095 MB / 1.286 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004086/1.208, allocations: 2.945 MB / 1.289 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/1.21, allocations: 1.004 MB / 1.29 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/1.212, allocations: 1.07 MB / 1.291 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/1.215, allocations: 1.004 MB / 1.292 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/1.215, allocations: 108 kB / 1.292 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/1.218, allocations: 1.504 MB / 1.294 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006315/1.219, allocations: 462.8 kB / 1.294 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.22, allocations: 0.6534 MB / 1.295 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/1.222, allocations: 1.622 MB / 1.296 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.222, allocations: 0 / 1.296 GB, free: 11.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.222, allocations: 3.938 kB / 1.296 GB, free: 11.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.313e-05/1.222, allocations: 0 / 1.296 GB, free: 11.36 MB / 1.014 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.002904/1.225, allocations: 1.508 MB / 1.298 GB, free: 9.797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.225, allocations: 12.02 kB / 1.298 GB, free: 9.785 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/1.228, allocations: 318.2 kB / 1.298 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.229, allocations: 0.8124 MB / 1.299 GB, free: 8.617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/1.229, allocations: 73.94 kB / 1.299 GB, free: 8.543 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.229, allocations: 80 kB / 1.299 GB, free: 8.465 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.231, allocations: 0.919 MB / 1.3 GB, free: 7.539 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.231, allocations: 3.906 kB / 1.3 GB, free: 7.535 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/1.231, allocations: 40 kB / 1.3 GB, free: 7.496 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.231, allocations: 30 kB / 1.3 GB, free: 7.469 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/1.233, allocations: 0.8353 MB / 1.301 GB, free: 6.633 MB / 1.014 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.006306/1.239, allocations: 3.533 MB / 1.304 GB, free: 2.879 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/1.24, allocations: 493.8 kB / 1.305 GB, free: 2.391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/1.241, allocations: 298 kB / 1.305 GB, free: 2.098 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/1.241, allocations: 101.5 kB / 1.305 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.241, allocations: 46.91 kB / 1.305 GB, free: 1.926 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.083e-06/1.241, allocations: 0 / 1.305 GB, free: 1.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.00412/1.245, allocations: 1.876 MB / 1.307 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/1.245, allocations: 59.84 kB / 1.307 GB, free: 15.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.246, allocations: 0.8058 MB / 1.308 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/1.246, allocations: 37.7 kB / 1.308 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/1.247, allocations: 479.3 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/1.247, allocations: 177.5 kB / 1.309 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.247, allocations: 110.2 kB / 1.309 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.247, allocations: 334 kB / 1.309 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/1.248, allocations: 249.1 kB / 1.309 GB, free: 13.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/1.249, allocations: 384.7 kB / 1.31 GB, free: 13.26 MB / 1.029 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.003928/1.253, allocations: 1.536 MB / 1.311 GB, free: 11.66 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.253, allocations: 0 / 1.311 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001563/1.254, allocations: 0.7965 MB / 1.312 GB, free: 10.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.254, allocations: 4 kB / 1.312 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.254, allocations: 4 kB / 1.312 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/1.254, allocations: 65.67 kB / 1.312 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/1.255, allocations: 157.2 kB / 1.312 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/1.258, allocations: 3.127 MB / 1.315 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.259, allocations: 70.27 kB / 1.315 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/1.259, allocations: 20 kB / 1.315 GB, free: 7.125 MB / 1.029 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.0005535/1.26, allocations: 301.6 kB / 1.315 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.26, allocations: 90.97 kB / 1.316 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.26, allocations: 104.7 kB / 1.316 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.26, allocations: 4 kB / 1.316 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.26, allocations: 7.938 kB / 1.316 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/1.261, allocations: 0.8349 MB / 1.316 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/1.265, allocations: 1.798 MB / 1.318 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.265, allocations: 4 kB / 1.318 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/1.266, allocations: 131.8 kB / 1.318 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/1.266, allocations: 36.84 kB / 1.318 GB, free: 3.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/1.266, allocations: 19.98 kB / 1.318 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/1.267, allocations: 1.586 MB / 1.32 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.267, allocations: 12 kB / 1.32 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/1.269, allocations: 1.076 MB / 1.321 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/1.27, allocations: 232 kB / 1.321 GB, free: 496 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.27, allocations: 16 kB / 1.321 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007643/1.271, allocations: 65.83 kB / 1.321 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.271, allocations: 43.89 kB / 1.321 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/1.271, allocations: 27.98 kB / 1.321 GB, free: 344 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008193/1.272, allocations: 0.5615 MB / 1.322 GB, free: 15.78 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.01e-07/1.272, allocations: 4 kB / 1.322 GB, free: 15.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009176/1.272, allocations: 276 kB / 1.322 GB, free: 15.5 MB / 1.045 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.0004943/1.273, allocations: 192.4 kB / 1.322 GB, free: 15.31 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001582/1.275, allocations: 0.8666 MB / 1.323 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.275, allocations: 0.8125 kB / 1.323 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000634/1.275, allocations: 414.3 kB / 1.324 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.278, allocations: 0.6055 MB / 1.324 GB, free: 13.42 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/1.281, allocations: 2.231 MB / 1.326 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/1.282, allocations: 1.084 MB / 1.327 GB, free: 9.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.282, allocations: 71.44 kB / 1.328 GB, free: 9.922 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/1.282, allocations: 0 / 1.328 GB, free: 9.922 MB / 1.045 GB Notification: Performance of Templates: time 0.03163/1.314, allocations: 21.95 MB / 1.349 GB, free: 4.109 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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]