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.008803/0.008803, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002038/0.002038, allocations: 199.4 kB / 16.68 MB, free: 5.926 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.436/2.436, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.88 kB / 0.9509 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9529/0.9542, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2488/1.203, allocations: 221.1 MB / 1.304 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.009162/1.212, allocations: 5.729 MB / 1.309 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/1.214, allocations: 39.81 kB / 1.309 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/1.215, allocations: 0.6059 MB / 1.31 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004705/1.22, allocations: 1.91 MB / 1.312 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/1.223, allocations: 1.206 MB / 1.313 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003739/1.227, allocations: 2.964 MB / 1.316 GB, free: 4 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/1.228, allocations: 1.023 MB / 1.317 GB, free: 2.957 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/1.23, allocations: 1.121 MB / 1.318 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/1.232, allocations: 0.9337 MB / 1.319 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/1.232, allocations: 108 kB / 1.319 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/1.235, allocations: 1.438 MB / 1.321 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/1.235, allocations: 466.8 kB / 1.321 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006439/1.236, allocations: 0.6533 MB / 1.322 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/1.238, allocations: 2.131 MB / 1.324 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.238, allocations: 0 / 1.324 GB, free: 12.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/1.238, allocations: 0 / 1.324 GB, free: 12.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.547e-05/1.238, allocations: 0 / 1.324 GB, free: 12.11 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.00233/1.241, allocations: 1.5 MB / 1.325 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.241, allocations: 8.031 kB / 1.325 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/1.243, allocations: 322.2 kB / 1.325 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.244, allocations: 0.8591 MB / 1.326 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/1.244, allocations: 66 kB / 1.326 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.244, allocations: 84 kB / 1.326 GB, free: 9.188 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/1.246, allocations: 0.9209 MB / 1.327 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/1.246, allocations: 0 / 1.327 GB, free: 8.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/1.246, allocations: 32 kB / 1.327 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.246, allocations: 37.94 kB / 1.327 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/1.247, allocations: 0.8315 MB / 1.328 GB, free: 7.359 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.004986/1.252, allocations: 3.509 MB / 1.332 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/1.253, allocations: 0.4992 MB / 1.332 GB, free: 3.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/1.254, allocations: 299 kB / 1.332 GB, free: 2.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.254, allocations: 105.5 kB / 1.333 GB, free: 2.711 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/1.254, allocations: 50.88 kB / 1.333 GB, free: 2.652 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/1.254, allocations: 0 / 1.333 GB, free: 2.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=49): time 0.003389/1.257, allocations: 1.868 MB / 1.334 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.257, allocations: 55.84 kB / 1.334 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/1.258, allocations: 0.8097 MB / 1.335 GB, free: 15.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/1.258, allocations: 41.7 kB / 1.335 GB, free: 15.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.259, allocations: 475.3 kB / 1.336 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/1.259, allocations: 177.5 kB / 1.336 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.259, allocations: 114.2 kB / 1.336 GB, free: 14.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.259, allocations: 334 kB / 1.336 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/1.26, allocations: 241.2 kB / 1.337 GB, free: 14.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/1.26, allocations: 388.6 kB / 1.337 GB, free: 13.99 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.003655/1.264, allocations: 1.539 MB / 1.338 GB, free: 12.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.264, allocations: 0 / 1.338 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001283/1.265, allocations: 0.7961 MB / 1.339 GB, free: 11.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.265, allocations: 4 kB / 1.339 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.265, allocations: 4 kB / 1.339 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/1.265, allocations: 74.11 kB / 1.339 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/1.266, allocations: 151.8 kB / 1.339 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/1.269, allocations: 3.125 MB / 1.342 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/1.269, allocations: 28.91 kB / 1.342 GB, free: 7.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/1.269, allocations: 24 kB / 1.343 GB, free: 7.887 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.000446/1.27, allocations: 305.5 kB / 1.343 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.27, allocations: 90.97 kB / 1.343 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/1.27, allocations: 104.8 kB / 1.343 GB, free: 7.387 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.27, allocations: 4 kB / 1.343 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.27, allocations: 0 / 1.343 GB, free: 7.383 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009693/1.271, allocations: 0.8387 MB / 1.344 GB, free: 6.453 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/1.274, allocations: 1.798 MB / 1.346 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.274, allocations: 4 kB / 1.346 GB, free: 4.551 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/1.274, allocations: 127.8 kB / 1.346 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-05/1.274, allocations: 37.25 kB / 1.346 GB, free: 4.387 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/1.274, allocations: 19.98 kB / 1.346 GB, free: 4.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/1.276, allocations: 1.586 MB / 1.347 GB, free: 2.645 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.276, allocations: 16 kB / 1.347 GB, free: 2.629 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.277, allocations: 1.066 MB / 1.348 GB, free: 1.504 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/1.277, allocations: 239.9 kB / 1.349 GB, free: 1.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/1.277, allocations: 12 kB / 1.349 GB, free: 1.238 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/1.278, allocations: 37.48 kB / 1.349 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.278, allocations: 43.88 kB / 1.349 GB, free: 1.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/1.278, allocations: 36.05 kB / 1.349 GB, free: 1.125 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006558/1.279, allocations: 0.5537 MB / 1.349 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.279, allocations: 0 / 1.349 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008181/1.28, allocations: 280 kB / 1.35 GB, free: 308 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.0004576/1.28, allocations: 188 kB / 1.35 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001213/1.282, allocations: 0.8052 MB / 1.35 GB, free: 15.28 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.282, allocations: 8 kB / 1.35 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/1.282, allocations: 414.3 kB / 1.351 GB, free: 14.85 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/1.284, allocations: 0.6023 MB / 1.351 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.287, allocations: 1.795 MB / 1.353 GB, free: 12.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/1.287, allocations: 1.091 MB / 1.354 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006161/1.288, allocations: 215.7 kB / 1.355 GB, free: 11.06 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.288, allocations: 71.42 kB / 1.355 GB, free: 10.99 MB / 1.092 GB Notification: Performance of SimCode: time 4.91e-07/1.288, allocations: 4 kB / 1.355 GB, free: 10.99 MB / 1.092 GB Notification: Performance of Templates: time 0.02959/1.318, allocations: 20.19 MB / 1.374 GB, free: 7.105 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches